Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/NVIDIA/TensorRT-LLM
/ numel
Method
numel
tensorrt_llm/runtime/session.py:53–54 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
51
# add more info like strides, formats if needed
52
53
def
numel(self):
54
return
prod(self.shape)
55
56
def
view(self, *shape):
57
assert set(map(type, shape)) == {int}
Callers
15
view
Method · 0.95
run_pack
Method · 0.45
reswizzle_sf
Function · 0.45
_
Function · 0.45
_view_as
Method · 0.45
get_buffer
Method · 0.45
_prepare_input_tensors_with_batches
Method · 0.45
_can_use_fused_kernel
Method · 0.45
advise_tensor_pageout
Function · 0.45
finalize_layer_weights
Method · 0.45
deepgemm_fp8_group_blockwise_gemm
Function · 0.45
run_moe
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected