MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / dim

Method dim

triton_kernels/tensor.py:160–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 return t.data if isinstance(t, Storage) else t
159
160 def dim(self):
161 return self.ndim
162
163 def size(self, i=None):
164 if i is None:

Calls

no outgoing calls