Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ device
Method
device
samples/python/common.py:163–164 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
161
162
@property
163
def
device(self) -> int:
164
return
self._device
165
166
@property
167
def
nbytes(self) -> int:
Callers
15
test_weight_fake_per_tensor
Method · 0.80
__call__
Method · 0.80
main
Function · 0.80
forward
Method · 0.80
__init__
Method · 0.80
forward
Method · 0.80
__init__
Method · 0.80
forward
Method · 0.80
__init__
Method · 0.80
set_encoder_hidden_states_for_inference_cycle
Method · 0.80
set_cross_attention_kv_cache_for_inference_cycle
Method · 0.80
forward
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_weight_fake_per_tensor
Method · 0.64
test_engine
Function · 0.64