Skip to content

Commit fb71a67

Browse files
committed
fix opset
Signed-off-by: xavier dupré <[email protected]>
1 parent 1e2f4b2 commit fb71a67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@ def func3(x):
36763676
with self.assertRaises(ValueError):
36773677
self._run_test_case(func3, [_OUTPUT], {_INPUT: x_val})
36783678

3679-
@check_opset_min_version(10, "topk")
3679+
@check_opset_min_version(11, "topk")
36803680
def test_invert_permutation(self):
36813681

36823682
def func(x):

tf2onnx/onnx_opset/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ class InvertPermutationOp:
707707
]
708708

709709
@classmethod
710-
def version_10(cls, ctx, node, **kwargs):
710+
def version_11(cls, ctx, node, **kwargs):
711711

712712
onnx_dtype = ctx.get_dtype(node.input[0])
713713
shape = ctx.get_shape(node.input[0])

0 commit comments

Comments
 (0)