DropOutDoMaskFusionPass
Description
Replaces the DropOutDoMaskV3D operator with DropOutDoMask.
After fusion, the DropOutDoMaskV3D operator is replaced with the DropOutDoMask operator. The DropOutDoMask operator can be implemented through the DSL branch using the Elemwise template and supports UB fusion.
Before:
After: 
Restrictions
- When the DSA module is supported, the fusion patterns take effect and must be enabled.
- Fusion patterns must be enabled when the DropOutDoMask operator is used for UB fusion.
- One of the parent nodes of DropOutDoMaskV3D must be DSAGenBitMask, which is used as the mask input.
Availability
Parent topic: Graph Fusion Patterns