Skip to content

Commit 7910649

Browse files
committed
fix shape issue
1 parent 40f54ca commit 7910649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/torch_models/test_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def validate_model(
515515
"run",
516516
summary,
517517
data,
518-
(lambda m=model, inp=inputs: m(**inp)),
518+
(lambda m=model, inp=inputs: m(**torch_deepcopy(inp))),
519519
repeat=repeat,
520520
warmup=warmup,
521521
)

0 commit comments

Comments
 (0)