AutomaticUbFusion

Description

Performs UB fusion on connected Elemwise operators that have not been involved in UB fusion. The fusion priority is the lowest.

Restrictions

  • Only static shape networks are supported.
  • A maximum of 28 Elemwise operators can be fused.
  • Operators that have been matched by other UB fusion patterns cannot be involved in the fusion.
  • The Relu6Grad operator cannot be involved in the fusion.
  • The AddN operator with more than six inputs cannot be involved in the fusion.