MCPcopy Index your code
hub / github.com/apache/tvm / update

Method update

python/tvm/ir/module.py:129–140  ·  view source on GitHub ↗

Insert functions in another Module to current one. Parameters ---------- other: IRModule The module to merge into the current Module.

(self, other)

Source from the content-addressed store, hash-verified

127 return _ffi_api.Module_Contains(self, var)
128
129 def update(self, other):
130 """Insert functions in another Module to current one.
131
132 Parameters
133 ----------
134 other: IRModule
135 The module to merge into the current Module.
136 """
137 if isinstance(other, dict):
138 other = IRModule(other)
139
140 return _ffi_api.Module_Update(self, other)
141
142 def update_func(self, var, func):
143 """Update the function corresponding to a global variable in the

Callers 15

tir_to_runtimeFunction · 0.95
_calculate_md5Function · 0.45
handle_decode_matmulMethod · 0.45
emitMethod · 0.45
get_defaultMethod · 0.45
emitMethod · 0.45
instantiate_templateFunction · 0.45
visit_op_call_Method · 0.45
_register_cuda_tagFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

IRModuleClass · 0.70

Tested by

no test coverage detected