Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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:
Callers
15
forward
Method · 0.80
_test_additional_model_outputs_integration
Function · 0.80
test_quantization_dequantization_per_tensor
Method · 0.80
per_token_cast_to_fp8
Function · 0.80
per_block_cast_to_fp8
Function · 0.80
per_token_cast_to_fp8_e8m0
Function · 0.80
per_block_cast_to_fp8_e8m0
Function · 0.80
per_rank_test_fused_moe_alltoall_fp8_blockwise
Function · 0.80
per_custom_dims_cast_to_fp8
Function · 0.80
verify_local_weight_sizes
Function · 0.80
test_fp4_batched_quantize
Function · 0.80
mamba_conv1d_ref
Function · 0.80
Calls
no outgoing calls
Tested by
9
_test_additional_model_outputs_integration
Function · 0.64
test_quantization_dequantization_per_tensor
Method · 0.64
per_rank_test_fused_moe_alltoall_fp8_blockwise
Function · 0.64
per_custom_dims_cast_to_fp8
Function · 0.64
verify_local_weight_sizes
Function · 0.64
test_fp4_batched_quantize
Function · 0.64
test_llava_onevision_utils_video
Function · 0.64
test_llava_onevision_utils_image
Function · 0.64
test_qwen2_vl_utils_compute_mrope
Function · 0.64