We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acac871 commit 57653d5Copy full SHA for 57653d5
onnx_diagnostic/reference/torch_ops/_op_run.py
@@ -1,6 +1,5 @@
1
from typing import Optional, Union, Tuple
2
import onnx
3
-import torch
4
5
6
class OpRunValue:
@@ -13,7 +12,7 @@ class OpRunValue:
13
12
14
__slots__ = ("cached", "is_constant", "tensor")
15
16
- def __init__(self, tensor: torch.Tensor, is_constant: bool = False):
+ def __init__(self, tensor, is_constant: bool = False):
17
self.tensor = tensor
18
self.is_constant = is_constant
19
self.cached = None
0 commit comments