MCPcopy Create free account
hub / github.com/apache/tvm / get_global_vars

Method get_global_vars

python/tvm/ir/module.py:188–196  ·  view source on GitHub ↗

Collect all global vars defined in this module. Returns ------- global_vars: Array[GlobalVar] An array of global vars.

(self)

Source from the content-addressed store, hash-verified

186 return _ffi_api.Module_GetGlobalVar(self, name)
187
188 def get_global_vars(self):
189 """Collect all global vars defined in this module.
190
191 Returns
192 -------
193 global_vars: Array[GlobalVar]
194 An array of global vars.
195 """
196 return _ffi_api.Module_GetGlobalVars(self)
197
198 @staticmethod
199 def from_expr(expr, functions=None):

Callers 15

_normalize_modFunction · 0.95
num_cutlass_partitionsFunction · 0.80
tune_cutlass_kernelsFunction · 0.80
_vmlinkFunction · 0.80
_captureFunction · 0.80
decorator_wrapperFunction · 0.80
benchmarkFunction · 0.80
remove_global_symbolsFunction · 0.80
test_cond_nestedFunction · 0.80
test_emit_te_multipleFunction · 0.80
check_if_func_existsFunction · 0.80

Calls

no outgoing calls