We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d87e6d1 commit 7ec95c2Copy full SHA for 7ec95c2
1 file changed
onnx_diagnostic/ext_test_case.py
@@ -1327,16 +1327,15 @@ def assert_onnx_disc(
1327
if copy_inputs:
1328
expected = [
1329
(
1330
- model(*copy.deepcopy(inputs))
1331
- if isinstance(inputs, tuple)
+ model(*copy.deepcopy(inp))
+ if isinstance(inp, tuple)
1332
else model(**copy.deepcopy(inp))
1333
)
1334
for inp in inputs
1335
]
1336
else:
1337
1338
- model(*inp) if isinstance(inputs, tuple) else model(**inp)
1339
- for inp in inputs
+ model(*inp) if isinstance(inp, tuple) else model(**inp) for inp in inputs
1340
1341
1342
if verbose:
0 commit comments