parameters: (self, tensor)
docstring: Args:
              tensor (onnx.TensorProto): The ONNX tensor that this instance should lazily load.
docstring_summary: Args:
              tensor (onnx.TensorProto): The ONNX tensor that this instance should lazily load.
docstring_tokens: Args : tensor ( onnx . TensorProto ) : The ONNX tensor that this instance should lazily load .
function: def __init__(self, tensor):
          """
          Args:
              tensor (onnx.TensorProto): The ONNX tensor that this instance should lazily load.
          """
          from onnx_graphsurgeon.importers.onnx_importer import get_onnx_tensor_shape, get_onnx_tensor_dtype
  
          self.tensor = tensor
          self.shape = get_onnx_tensor_shape(self.tensor)
          self.dtype = get_onnx_tensor_dtype(self.tensor)
function_tokens: def __init__ ( self , tensor ) : from onnx_graphsurgeon . importers . onnx_importer import get_onnx_tensor_shape , get_onnx_tensor_dtype self . tensor = tensor self . shape = get_onnx_tensor_shape ( self . tensor ) self . dtype = get_onnx_tensor_dtype ( self . tensor )