sum
Summation.
This layer computes the summations of input along the specified axes.
Parameter
- axes : Integers, axes along which summation is computed.
The default is [-1] (the last dimension). - keepdims : Boolean, whether the tensor rank is saved.
The default is false