PassNode is the base type of differnt types of optimization passes. It is designed as a pure class and implemented by different pass subclasses at different granularity of Relax nodes.
More...
#include <transform.h>
|
static constexpr const char * | _type_key = "transform.Pass" |
|
PassNode is the base type of differnt types of optimization passes. It is designed as a pure class and implemented by different pass subclasses at different granularity of Relax nodes.
◆ ~PassNode()
virtual tvm::transform::PassNode::~PassNode |
( |
| ) |
|
|
inlinevirtual |
◆ Info()
virtual PassInfo tvm::transform::PassNode::Info |
( |
| ) |
const |
|
pure virtual |
◆ operator()() [1/2]
Transform mod using the default PassContext in the current scope.
- Parameters
-
mod | The module that an optimization pass runs on. |
- Returns
- The transformed module.
◆ operator()() [2/2]
Transform mod using a functor under a given pass context.
- Parameters
-
mod | The module that an optimization pass runs on. |
pass_ctx | The pass context that can provide information for the optimization. |
- Returns
- The transformed module.
Implemented in tvm::transform::SequentialNode.
◆ TVM_DECLARE_BASE_OBJECT_INFO()
tvm::transform::PassNode::TVM_DECLARE_BASE_OBJECT_INFO |
( |
PassNode |
, |
|
|
Object |
|
|
) |
| |
◆ _type_key
constexpr const char* tvm::transform::PassNode::_type_key = "transform.Pass" |
|
staticconstexpr |
The documentation for this class was generated from the following file: