Skip to content

Commit b74e96d

Browse files
committed
Added max version for deprecation purposes
1 parent dd90156 commit b74e96d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_optimizers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,7 @@ def test_upsample_all_ones_removed(self):
12041204
0)
12051205

12061206
@check_opset_min_version(9, ">= 9 scales is in input[1]")
1207+
@check_opset_max_version(9, "Upscale is deprecated in opsets >= 10")
12071208
def test_upsample_all_ones_removed_in_input(self):
12081209
shape = (1, 1, 32, 32)
12091210
const_tensor = helper.make_tensor(

0 commit comments

Comments
 (0)