MCPcopy 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_implMethod · 0.45
__init__Method · 0.45
parse_implMethod · 0.45
__init__Method · 0.45
skip_iterationMethod · 0.45
__init__Method · 0.45
parse_implMethod · 0.45
add_to_script_implMethod · 0.45
__init__Method · 0.45

Calls 1

typeFunction · 0.85

Tested by 1

__init__Method · 0.36