MCPcopy Create free account
hub / github.com/apache/tvm-ffi / update

Method update

python/tvm_ffi/container.py:771–774  ·  view source on GitHub ↗

Update the dict from a mapping.

(self, other: Mapping[K, V])

Source from the content-addressed store, hash-verified

769 _ffi_api.DictClear(self)
770
771 def update(self, other: Mapping[K, V]) -> None: # type: ignore[override]
772 """Update the dict from a mapping."""
773 for k, v in other.items():
774 self[k] = v

Callers 1

test_dict_updateFunction · 0.95

Calls 1

itemsMethod · 0.45

Tested by 1

test_dict_updateFunction · 0.76