Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ add_tensor
Method
add_tensor
tensorrt_llm/runtime/generation.py:2204–2205 ·
view source on GitHub ↗
(x, name)
Source
from the content-addressed store, hash-verified
2202
})
2203
2204
def
add_tensor(x, name):
2205
return
tensors.update({name: sym(x, name)})
2206
2207
def
add_tensor_with_shape(x, name, shape):
2208
return
tensors.update(
Callers
nothing calls this directly
Calls
1
update
Method · 0.45
Tested by
no test coverage detected