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

Method update_global_info

python/tvm/ir/module.py:156–167  ·  view source on GitHub ↗

Update global info in the module Parameters ---------- name: str The name for the global info. global_info: List[GlobalInfo] The global info to be updated.

(self, name, global_info)

Source from the content-addressed store, hash-verified

154 return _ffi_api.Module_UpdateFunction(self, var, func)
155
156 def update_global_info(self, name, global_info):
157 """Update global info in the module
158
159 Parameters
160 ----------
161 name: str
162 The name for the global info.
163
164 global_info: List[GlobalInfo]
165 The global info to be updated.
166 """
167 return _ffi_api.Module_UpdateGlobalInfo(self, name, global_info)
168
169 def get_global_var(self, name):
170 """Get a global variable in the function by name.

Callers 13

test_global_info_vdeviceFunction · 0.80
test_tensor_with_vdeviceFunction · 0.80
test_dispatch_scanopFunction · 0.80
test_dispatch_sortFunction · 0.80
test_dispatch_sort_cudaFunction · 0.80
test_dispatch_argsortFunction · 0.80
test_dispatch_topkFunction · 0.80
test_dispatch_topk_cudaFunction · 0.80
test_dispatch_topk_gpuFunction · 0.80

Calls

no outgoing calls

Tested by 13

test_global_info_vdeviceFunction · 0.64
test_tensor_with_vdeviceFunction · 0.64
test_dispatch_scanopFunction · 0.64
test_dispatch_sortFunction · 0.64
test_dispatch_sort_cudaFunction · 0.64
test_dispatch_argsortFunction · 0.64
test_dispatch_topkFunction · 0.64
test_dispatch_topk_cudaFunction · 0.64
test_dispatch_topk_gpuFunction · 0.64