diff --git a/include/aidge/data/Tensor.hpp b/include/aidge/data/Tensor.hpp index bfa17da108e919b6a732e74b077cd99c15cf470f..6718942360901bdf576eaa1a78830baf88dba2ec 100644 --- a/include/aidge/data/Tensor.hpp +++ b/include/aidge/data/Tensor.hpp @@ -351,7 +351,8 @@ class Tensor : public Data, * @brief Element-wise clip operation for Tensor. * @return Tensor */ - Tensor clip(float min, float max) const; + Tensor clip(float min = std::numeric_limits<float>::lowest(), + float max = std::numeric_limits<float>::max()) const; ~Tensor() noexcept;