Skip to content

add

Element-wise addition.

This layer adds inputs in the same shape or broadcastable shapes. The number of inputs must be <= 8.


Parameter

  • has_relu : Boolean, whether the layer applies a ReLU function to the output.
  • relu_max_value : Number, the max value of output if relu_max_value > 0.f.