Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT-LLM
/ to_dict
Function
to_dict
tensorrt_llm/_utils.py:653–654 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
651
652
653
def
to_dict(obj):
654
return
copy.deepcopy(obj.__dict__)
655
656
657
def
to_json_string(obj):
Callers
1
to_json_string
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected