tvm
|
Information entry in executable function table. More...
#include <executable.h>
Public Types | |
enum class | FuncKind : int { kPackedFunc = 0 , kVMFunc = 1 , kVMTIRFunc = 2 } |
kind of the function. More... | |
Public Member Functions | |
void | Save (dmlc::Stream *writer) const |
bool | Load (dmlc::Stream *reader) |
Public Attributes | |
FuncKind | kind |
The kind of function. More... | |
std::string | name |
The function's name, global symbol. More... | |
Index | start_instr = 0 |
The start instruction index of the function. More... | |
Index | end_instr = 0 |
The end instruction index of the function. More... | |
Index | num_args = 0 |
The number of arguments of the function. More... | |
Index | register_file_size = 0 |
The register file size of the function. More... | |
std::vector< std::string > | param_names |
The function parameter names. More... | |
Information entry in executable function table.
Contains metadata about the compiled function, as well as the compiled VM instructions.
|
strong |
bool tvm::runtime::relax_vm::VMFuncInfo::Load | ( | dmlc::Stream * | reader | ) |
void tvm::runtime::relax_vm::VMFuncInfo::Save | ( | dmlc::Stream * | writer | ) | const |
Index tvm::runtime::relax_vm::VMFuncInfo::end_instr = 0 |
The end instruction index of the function.
FuncKind tvm::runtime::relax_vm::VMFuncInfo::kind |
The kind of function.
std::string tvm::runtime::relax_vm::VMFuncInfo::name |
The function's name, global symbol.
Index tvm::runtime::relax_vm::VMFuncInfo::num_args = 0 |
The number of arguments of the function.
std::vector<std::string> tvm::runtime::relax_vm::VMFuncInfo::param_names |
The function parameter names.
Index tvm::runtime::relax_vm::VMFuncInfo::register_file_size = 0 |
The register file size of the function.
Index tvm::runtime::relax_vm::VMFuncInfo::start_instr = 0 |
The start instruction index of the function.