REGISTER_SCOPE_FUSION_PASS

Description

Registers a Scope fused operator.

Prototype

REGISTER_SCOPE_FUSION_PASS(pass_name, scope_pass, is_general)

Parameters

Parameter

Input/Output

Description

pass_name

Input

Fused operator name

scope_pass

Input

Pointer to the fused operator object

is_general

Input

true: The pattern is a general fusion pattern that takes effect by default.

false: The pattern is a non-general fusion pattern that does not take effect by default.

Restrictions

The is_general parameter can only be set to true or false. If it is set to other values, the rule may not take effect as expected.

Other Associated Macros

The following macros are associated with REGISTER_SCOPE_FUSION_PASS and can be ignored.

REGISTER_SCOPE_FUSION_PASS_UNIQ_HELPER

REGISTER_SCOPE_FUSION_PASS_UNIQ