Skip to content

Commit 2d5760d

Browse files
committed
fix issue with ms-domain test
1 parent f31ff36 commit 2d5760d

File tree

1 file changed

+2
-2
lines changed
  • tf2onnx/custom_opsets

1 file changed

+2
-2
lines changed

tf2onnx/custom_opsets/ms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def version_1(cls, ctx, node, **kwargs):
9696
@tf_op("CropAndResize", domain=constants.MICROSOFT_DOMAIN)
9797
class CropAndResize:
9898
@classmethod
99-
def version_11(cls, ctx, node, **kwargs):
99+
def version_1(cls, ctx, node, **kwargs):
100100
""" utilize contrib cropandresize """
101101
node.attr['method'].name = 'mode'
102102
node.domain = constants.MICROSOFT_DOMAIN
@@ -107,7 +107,7 @@ def version_11(cls, ctx, node, **kwargs):
107107
@tf_op("MatrixInverse", domain=constants.MICROSOFT_DOMAIN, onnx_op="Inverse")
108108
class Inverse:
109109
@classmethod
110-
def version_12(cls, ctx, node, **kwargs):
110+
def version_1(cls, ctx, node, **kwargs):
111111
utils.make_sure(node.get_attr('adjoint').i == 0, "adjoint must be false")
112112
del node.attr["adjoint"]
113113
node.domain = constants.MICROSOFT_DOMAIN

0 commit comments

Comments
 (0)