Define CINN_REGISTER_PROGRAM_PASS
Defined in File program_pass.h
Define Documentation
-
CINN_REGISTER_PROGRAM_PASS
(PassType, PassClass) Register a new program pass.
CINN_REGISTER_PROGRAM_PASS(decompose, DecomposerPass());
- Parameters
PassType
: The type of passPassClass
: The pass inherited from ProgramPass