Skip to content

Commit c3ca6b4

Browse files
added Rama's suggestion
Signed-off-by: Alexandre Eichenberger <alexe@us.ibm.com>
1 parent f7b0d02 commit c3ca6b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15168,7 +15168,7 @@ This version of the operator has been available since version 13 of the default
1516815168
specified by the inputs 'min' and 'max'. They default to
1516915169
numeric_limits::lowest() and numeric_limits::max(), respectively.
1517015170
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
15171-
the value of 'max'.
15171+
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.
1517215172

1517315173
#### Version
1517415174

docs/Operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ expect(node, inputs=[x, shape], outputs=[y], name="test_center_crop_pad_pad")
45504550
specified by the inputs 'min' and 'max'. They default to
45514551
numeric_limits::lowest() and numeric_limits::max(), respectively.
45524552
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
4553-
the value of 'max'.
4553+
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.
45544554

45554555
#### Version
45564556

onnx/defs/math/defs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ Clip operator limits the given input within an interval. The interval is
957957
specified by the inputs 'min' and 'max'. They default to
958958
numeric_limits::lowest() and numeric_limits::max(), respectively.
959959
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
960-
the value of 'max'.
960+
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.
961961
)DOC";
962962

963963
bool BuildContextDependentFunctionBodyClip(

0 commit comments

Comments
 (0)