Skip to content

Commit

Permalink
added Rama's suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Eichenberger <[email protected]>
  • Loading branch information
AlexandreEichenberger committed Sep 26, 2024
1 parent f7b0d02 commit c3ca6b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15168,7 +15168,7 @@ This version of the operator has been available since version 13 of the default
specified by the inputs 'min' and 'max'. They default to
numeric_limits::lowest() and numeric_limits::max(), respectively.
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
the value of 'max'.
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.

#### Version

Expand Down
2 changes: 1 addition & 1 deletion docs/Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4550,7 +4550,7 @@ expect(node, inputs=[x, shape], outputs=[y], name="test_center_crop_pad_pad")
specified by the inputs 'min' and 'max'. They default to
numeric_limits::lowest() and numeric_limits::max(), respectively.
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
the value of 'max'.
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.

#### Version

Expand Down
2 changes: 1 addition & 1 deletion onnx/defs/math/defs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ Clip operator limits the given input within an interval. The interval is
specified by the inputs 'min' and 'max'. They default to
numeric_limits::lowest() and numeric_limits::max(), respectively.
When 'min' is greater than 'max', the clip operator sets all the 'input' values to
the value of 'max'.
the value of 'max'. Thus, this is equivalent to 'Min(max, Max(input, min))'.
)DOC";

bool BuildContextDependentFunctionBodyClip(
Expand Down

0 comments on commit c3ca6b4

Please sign in to comment.