ReluFusionPass

Description

In the Caffe framework, the fusion matches the following specific graph structure. After the matching is successful, the fusion is converted into an instruction to complete the computation of the activation function.

Structure 1

Structure 2

Constraints

The input of the Add operator must be Convolution, Activation, FusionBatchNorm, BatchNorm, Pooling, or Eltwise.

The Mode attribute of Activation is set to Relu.

Applicable Products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products