Managed reference class to IRModuleNode.
More...
#include <module.h>
Managed reference class to IRModuleNode.
- See also
- IRModuleNode
◆ ContainerType
Declare the container type.
◆ IRModule() [1/3]
constructor
- Parameters
-
functions | Functions in the module. |
map | The module source map. |
attrs | The module meta-data attributes. |
global_infos | Global infos in the module. |
◆ IRModule() [2/3]
tvm::IRModule::IRModule |
( |
| ) |
|
|
inline |
◆ IRModule() [3/3]
tvm::IRModule::IRModule |
( |
ObjectPtr< Object > |
n | ) |
|
|
inlineexplicit |
◆ FromExpr()
As for FromExprInContext
, but assuming expr
is bound to 'main' and no imports.
◆ operator->()
- Returns
- mutable pointers to the node.
◆ ShallowCopyIRModule()
Create a shallow copy of an IRModule.
- Parameters
-
- Returns
- The copied module.
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
tvm::IRModule::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
IRModuleNode |
| ) |
|
The documentation for this class was generated from the following file: