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

Function has_extra_attr

tensorrt_llm/_utils.py:705–708  ·  view source on GitHub ↗
(obj, attr_name)

Source from the content-addressed store, hash-verified

703
704
705def has_extra_attr(obj, attr_name):
706 if id(obj) not in _extra_attrs_by_object:
707 return False
708 return attr_name in _extra_attrs_by_object[id(obj)]
709
710
711def set_obj_attrs(

Callers 5

get_plugin_infoFunction · 0.85
set_plugin_infoFunction · 0.85
delete_plugin_infoFunction · 0.85
get_np_weightFunction · 0.85
set_np_weightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected