Skip to content

Commit 57653d5

Browse files
committed
run
1 parent acac871 commit 57653d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

onnx_diagnostic/reference/torch_ops/_op_run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from typing import Optional, Union, Tuple
22
import onnx
3-
import torch
43

54

65
class OpRunValue:
@@ -13,7 +12,7 @@ class OpRunValue:
1312

1413
__slots__ = ("cached", "is_constant", "tensor")
1514

16-
def __init__(self, tensor: torch.Tensor, is_constant: bool = False):
15+
def __init__(self, tensor, is_constant: bool = False):
1716
self.tensor = tensor
1817
self.is_constant = is_constant
1918
self.cached = None

0 commit comments

Comments
 (0)