tvm_tirx.ir.EnvFunc#
- class tvm_tirx.ir.EnvFunc(name, func)#
Bases:
ObjectA registered global function referenced and serialized by name.
Use
EnvFunc.get(name)to look up a function and call the returned object with its arguments. Deserialization resolves the same name in the registry.- static get(name)#
Get a static env function
- Parameters:
name (str) – The name of the function.
- property func#
- property name#