Skip to content

Commit 3eaa913

Browse files
committed
Explicit opset version in resnet50 export test, formatting
1 parent cb645a2 commit 3eaa913

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

python/export_resnet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
output_names=["output"],
1616
dynamic_axes={"input": {0: "batch_size"}, "output": {0: "batch_size"}},
1717
export_params=True,
18+
opset_version=19,
1819
)

python/multi_input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ def forward(self, x, y):
3737
"x": {0: "batch_size"},
3838
"y": {0: "batch_size"},
3939
},
40-
opset_version=19
40+
opset_version=19,
4141
)

0 commit comments

Comments
 (0)