MCPcopy Index your code
hub / github.com/NVIDIA/TensorRT-LLM / set_parameter_tensor

Method set_parameter_tensor

tensorrt_llm/network.py:179–181  ·  view source on GitHub ↗
(self, param, tensor)

Source from the content-addressed store, hash-verified

177 return self.parameter_tensors.get(param, None)
178
179 def set_parameter_tensor(self, param, tensor):
180 assert param not in self.parameter_tensors
181 self.parameter_tensors[param] = tensor
182
183 @property
184 def dtype(self) -> trt.DataType:

Callers 2

get_managed_tensorMethod · 0.80
get_constant_tensorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected