Skip to content

Commit

Permalink
format update
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Eichenberger <[email protected]>
  • Loading branch information
AlexandreEichenberger committed Sep 23, 2024
1 parent e49dd38 commit 5887ad2
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -4637,9 +4637,9 @@ expect(
name="test_clip_splitbounds",
)

x = np.array([-1, 0, 6]).astype(np.float32)
y = np.array([1, 1, 1]).astype(np.float32) # Value of max when min>max.
min_val = np.float32(2) # Min greater than max.
x = np.array([-2, 0, 6]).astype(np.float32)
y = np.array([1, 1, 1]).astype(np.float32)
min_val = np.float32(2)
max_val = np.float32(1)
expect(
node,
Expand Down
6 changes: 3 additions & 3 deletions docs/TestCoverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3284,9 +3284,9 @@ expect(
name="test_clip_splitbounds",
)

x = np.array([-1, 0, 6]).astype(np.float32)
y = np.array([1, 1, 1]).astype(np.float32) # Value of max when min>max.
min_val = np.float32(2) # Min greater than max.
x = np.array([-2, 0, 6]).astype(np.float32)
y = np.array([1, 1, 1]).astype(np.float32)
min_val = np.float32(2)
max_val = np.float32(1)
expect(
node,
Expand Down
2 changes: 1 addition & 1 deletion onnx/backend/test/case/node/clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def export() -> None:
name="test_clip_splitbounds",
)

x = np.array([-1, 0, 6]).astype(np.float32)
x = np.array([-2, 0, 6]).astype(np.float32)
y = np.array([1, 1, 1]).astype(np.float32)
min_val = np.float32(2)
max_val = np.float32(1)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 5887ad2

Please sign in to comment.