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

Method attach_to_context

tensorrt_llm/python_plugin.py:390–391  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

388 return True
389
390 def attach_to_context(self, context):
391 return self.clone()
392
393 def get_fields_to_serialize(self):
394 buffer = pickle.dumps(self._get_dict_to_serialize())

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.95

Tested by

no test coverage detected