Skip to content

Commit 5ccb4af

Browse files
committed
run test_inverse under ms_domain
1 parent b27648b commit 5ccb4af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3191,7 +3191,9 @@ def func(X, K):
31913191
self._run_test_case(func, [_OUTPUT, _OUTPUT1], {_INPUT: x_val, _INPUT1: k_val})
31923192

31933193
@check_opset_min_version(12)
3194+
@test_ms_domain()
31943195
def test_inverse(self):
3196+
# this depends on onnx Inverse which was removed from opset-12 but does exists in the ms-domain
31953197
x_val = np.random.random([5, 5]).astype(np.float32)
31963198
def func(x):
31973199
return tf.linalg.inv(x, name=_TFOUTPUT)

0 commit comments

Comments
 (0)