Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NVIDIA/TensorRT-LLM
/ numel
Method
numel
triton_kernels/tensor.py:149–150 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
147
return
self.storage.data.data_ptr()
148
149
def
numel(self):
150
return
self.storage.data.numel()
151
152
def
element_size(self):
153
return
bitwidth(self.dtype) // 8
Callers
14
matmul_ogs
Function · 0.95
assert_close
Function · 0.45
forward
Method · 0.45
_compute_expt_data_internal
Function · 0.45
__post_init__
Method · 0.45
matmul_launch_metadata
Function · 0.45
alloc_fn
Function · 0.45
downcast_to_mxfp
Function · 0.45
swiglu_launch_metadata
Function · 0.45
run_test
Function · 0.45
fmha_bmark.py
File · 0.45
_validate_non_empty
Function · 0.45
Calls
no outgoing calls
Tested by
2
assert_close
Function · 0.36
run_test
Function · 0.36