tvm
|
Classes | |
class | IRModuleFrameNode |
A frame that represents the IRModule frame with functions and global variables. More... | |
class | IRModuleFrame |
Managed reference to IRModuleFrameNode. More... | |
Functions | |
IRModuleFrame | IRModule () |
The IRModule declaration statement. More... | |
GlobalVar | DeclFunction (const String &func_name, const BaseFunc &func_signature) |
Declare a Function without given the specific function implementation. More... | |
void | DefFunction (const String &func_name, const BaseFunc &func) |
Define the function which is declared before. More... | |
GlobalVar tvm::script::ir_builder::ir::DeclFunction | ( | const String & | func_name, |
const BaseFunc & | func_signature | ||
) |
Declare a Function without given the specific function implementation.
DefFunction
func_name | The function unique name. |
func_signature | A Function w/o body, which used to specify the function signature (i.e. func params and func return type/shape). |
Define the function which is declared before.
func_name | The function unique name. |
func | The given function implementation |
IRModuleFrame tvm::script::ir_builder::ir::IRModule | ( | ) |
The IRModule declaration statement.