|
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 ffi::String &func_name, const BaseFunc &func_signature) |
| Declare a Function without given the specific function implementation. More... | |
| void | DefFunction (const ffi::String &func_name, const BaseFunc &func) |
| Define the function which is declared before. More... | |
| GlobalVar tvm::script::ir_builder::ir::DeclFunction | ( | const ffi::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). |
| void tvm::script::ir_builder::ir::DefFunction | ( | const ffi::String & | func_name, |
| const BaseFunc & | func | ||
| ) |
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.