Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/TensorRT-LLM
/ size
Method
size
triton_kernels/tensor.py:163–166 ·
view source on GitHub ↗
(self, i=None)
Source
from the content-addressed store, hash-verified
161
return
self.ndim
162
163
def
size(self, i=None):
164
if
i is None:
165
return
self.shape
166
return
self.shape[i]
167
168
169
@dataclass
Callers
15
assert_close
Function · 0.45
downcast_to_mxfp_torch
Function · 0.45
upcast_from_mxfp_torch
Function · 0.45
unswizzle_data
Method · 0.45
postprocess_image
Method · 0.45
print_output
Function · 0.45
main
Function · 0.45
main
Function · 0.45
__call__
Method · 0.45
eval_trt_llm
Function · 0.45
eval_hf
Function · 0.45
report_load_statistics.py
File · 0.45
Calls
no outgoing calls
Tested by
1
assert_close
Function · 0.36