Managed reference class to IRModuleObj.
More...
#include <module.h>
Managed reference class to IRModuleObj.
- See also
- IRModuleObj
◆ ContainerType
Declare the container type.
◆ IRModule() [1/4]
constructor
- Parameters
-
| functions | Functions in the module. |
| attrs | The module meta-data attributes. |
| global_infos | Global infos in the module. |
◆ IRModule() [2/4]
| tvm::IRModule::IRModule |
( |
| ) |
|
|
inline |
◆ IRModule() [3/4]
| tvm::IRModule::IRModule |
( |
ffi::ObjectPtr< IRModuleObj > |
n | ) |
|
|
inlineexplicit |
Checked pointer construction required by ffi::RValueRef.
◆ IRModule() [4/4]
| tvm::IRModule::IRModule |
( |
ffi::UnsafeInit |
tag | ) |
|
|
inlineexplicit |
constructor with UnsafeInit
◆ FromExpr()
As for FromExprInContext, but assuming expr is bound to 'main' and no imports.
◆ operator->()
- Returns
- mutable pointers to the node.
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
| tvm::IRModule::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
IRModuleObj |
| ) |
|
◆ _type_is_nullable
| constexpr bool tvm::IRModule::_type_is_nullable = false |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- 3rdparty/tvm-tirx/include/tvm/ir/module.h