Define CINN_REGISTER_PROGRAM_PASS

Define Documentation

CINN_REGISTER_PROGRAM_PASS(PassType, PassClass)

Register a new program pass.

CINN_REGISTER_PROGRAM_PASS(decompose, DecomposerPass());
Parameters
  • PassType: The type of pass

  • PassClass: The pass inherited from ProgramPass