Skip to content

Commit 7ec95c2

Browse files
committed
sr
1 parent d87e6d1 commit 7ec95c2

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

onnx_diagnostic/ext_test_case.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,16 +1327,15 @@ def assert_onnx_disc(
13271327
if copy_inputs:
13281328
expected = [
13291329
(
1330-
model(*copy.deepcopy(inputs))
1331-
if isinstance(inputs, tuple)
1330+
model(*copy.deepcopy(inp))
1331+
if isinstance(inp, tuple)
13321332
else model(**copy.deepcopy(inp))
13331333
)
13341334
for inp in inputs
13351335
]
13361336
else:
13371337
expected = [
1338-
model(*inp) if isinstance(inputs, tuple) else model(**inp)
1339-
for inp in inputs
1338+
model(*inp) if isinstance(inp, tuple) else model(**inp) for inp in inputs
13401339
]
13411340

13421341
if verbose:

0 commit comments

Comments
 (0)