Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ default
Method
default
tools/Polygraphy/polygraphy/json/serde.py:149–152 ·
view source on GitHub ↗
(self, o)
Source
from the content-addressed store, hash-verified
147
polygraphy_registered = {}
148
149
def
default(self, o):
150
if
type(o) in self.polygraphy_registered:
151
return
self.polygraphy_registered[type(o)](o)
152
return
super().default(o)
153
154
155
@mod.export()
Callers
15
__init__
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
run_impl
Method · 0.45
__init__
Method · 0.45
parse_impl
Method · 0.45
__init__
Method · 0.45
skip_iteration
Method · 0.45
__init__
Method · 0.45
parse_impl
Method · 0.45
add_to_script_impl
Method · 0.45
__init__
Method · 0.45
Calls
1
type
Function · 0.85
Tested by
1
__init__
Method · 0.36