Skip to content

Commit 4022a52

Browse files
authored
Merge pull request #410 from nbcsm/opset9
enable opset9 in CI
2 parents f2dc6d8 + 4bcc005 commit 4022a52

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

ci_build/azure_pipelines/pretrained_model_test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
parameters:
66
platforms: ['linux', 'windows', 'mac']
77
tf_versions: ['1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5']
8-
onnx_opsets: ['8', '7']
8+
onnx_opsets: ['9', '8', '7']
99
onnx_backends:
1010
onnxruntime: ['0.3.0']
1111
job:

ci_build/azure_pipelines/pretrained_model_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
- template: 'templates/job_generator.yml'
55
parameters:
66
tf_versions: ['1.12']
7-
onnx_opsets: ['8', '7']
7+
onnx_opsets: ['9', '8', '7']
88
onnx_backends:
99
onnxruntime: ['0.3.0']
1010
job:

ci_build/azure_pipelines/unit_test-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
parameters:
66
platforms: ['linux', 'windows', 'mac']
77
tf_versions: ['1.12', '1.11', '1.10', '1.9', '1.8', '1.7', '1.6', '1.5']
8-
onnx_opsets: ['8', '7']
8+
onnx_opsets: ['9', '8', '7']
99
onnx_backends:
1010
onnxruntime: ['0.3.0']
1111
job:

ci_build/azure_pipelines/unit_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
- template: 'templates/job_generator.yml'
55
parameters:
66
tf_versions: ['1.12']
7-
onnx_opsets: ['8', '7']
7+
onnx_opsets: ['9', '8', '7']
88
onnx_backends:
99
onnxruntime: ['0.3.0']
1010
job:

tests/test_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,7 @@ def test_where_scalar(self):
15821582
self._run_test_case([_OUTPUT], {_INPUT: x_val})
15831583

15841584
@check_opset_min_version(9, "where")
1585+
@check_target("rs6", "onnxruntime Transpose type limitation")
15851586
def test_where_with_cond_only(self):
15861587
for np_type, tf_type in [(np.int32, tf.int32), (np.float32, tf.float32)]:
15871588
x_val = np.random.randint(0, 2, size=[10, 20, 30]).astype(np_type)

0 commit comments

Comments
 (0)