Skip to content

Commit 5887ad2

Browse files
format update
Signed-off-by: Alexandre Eichenberger <alexe@us.ibm.com>
1 parent e49dd38 commit 5887ad2

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed

docs/Operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4637,9 +4637,9 @@ expect(
46374637
name="test_clip_splitbounds",
46384638
)
46394639

4640-
x = np.array([-1, 0, 6]).astype(np.float32)
4641-
y = np.array([1, 1, 1]).astype(np.float32) # Value of max when min>max.
4642-
min_val = np.float32(2) # Min greater than max.
4640+
x = np.array([-2, 0, 6]).astype(np.float32)
4641+
y = np.array([1, 1, 1]).astype(np.float32)
4642+
min_val = np.float32(2)
46434643
max_val = np.float32(1)
46444644
expect(
46454645
node,

docs/TestCoverage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3284,9 +3284,9 @@ expect(
32843284
name="test_clip_splitbounds",
32853285
)
32863286

3287-
x = np.array([-1, 0, 6]).astype(np.float32)
3288-
y = np.array([1, 1, 1]).astype(np.float32) # Value of max when min>max.
3289-
min_val = np.float32(2) # Min greater than max.
3287+
x = np.array([-2, 0, 6]).astype(np.float32)
3288+
y = np.array([1, 1, 1]).astype(np.float32)
3289+
min_val = np.float32(2)
32903290
max_val = np.float32(1)
32913291
expect(
32923292
node,

onnx/backend/test/case/node/clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def export() -> None:
6060
name="test_clip_splitbounds",
6161
)
6262

63-
x = np.array([-1, 0, 6]).astype(np.float32)
63+
x = np.array([-2, 0, 6]).astype(np.float32)
6464
y = np.array([1, 1, 1]).astype(np.float32)
6565
min_val = np.float32(2)
6666
max_val = np.float32(1)
Binary file not shown.

0 commit comments

Comments
 (0)