Closed beru closed 3 years ago
Hi, this PR corrects Clip operator's default values of min input.
Clip
min
Originally, FLT_MIN and DBL_MIN are used but they are for minimum positive values.
FLT_MIN
DBL_MIN
ONNX spec says They default to numeric_limits::lowest() and numeric_limits::max().
They default to numeric_limits::lowest() and numeric_limits::max()
https://github.com/onnx/onnx/blob/master/docs/Operators.md#Clip
https://stackoverflow.com/a/2684773/4699324
Hi, this PR corrects
Clip
operator's default values ofmin
input.Originally,
FLT_MIN
andDBL_MIN
are used but they are for minimum positive values.ONNX spec says
They default to numeric_limits::lowest() and numeric_limits::max()
.https://github.com/onnx/onnx/blob/master/docs/Operators.md#Clip
https://stackoverflow.com/a/2684773/4699324