Skip to content

Commit 86c921c

Browse files
committed
fix clone
1 parent db41440 commit 86c921c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/reference/ort_evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def to(self, tensor_like) -> "OnnxList":
8383

8484
def clone(self) -> "OnnxList":
8585
"Clone (torch)."
86-
return [t.clone() for t in self]
86+
return OnnxList([t.clone() for t in self])
8787

8888

8989
class OnnxruntimeEvaluator:

0 commit comments

Comments
 (0)