Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ update
Method
update
tools/Polygraphy/polygraphy/common/interface.py:72–75 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
70
return
self.dct.items()
71
72
def
update(self, other):
73
for
key, val in other.items():
74
self._check_types(key, val)
75
return
self.dct.update(other)
76
77
def
__contains__(self, key):
78
return
key in self.dct
Callers
15
evaluate_onnx
Function · 0.45
_local_tensors
Method · 0.45
_foreign_tensors
Method · 0.45
update_foldable_outputs
Method · 0.45
partition_and_infer
Method · 0.45
fold_constants
Method · 0.45
copy
Method · 0.45
combine_dicts
Function · 0.45
__init__
Method · 0.45
add_import
Method · 0.45
override_input_shapes
Function · 0.45
update_inputs
Method · 0.45
Calls
2
_check_types
Method · 0.95
items
Method · 0.45
Tested by
3
test_polygraphy_run_gen_script
Method · 0.36
check_model
Method · 0.36
test_wrong_type_update
Method · 0.36