Calculates the sum of tensor elements along an axis.
the input tensor
Optional
(optional) the axis to sum along
the sum
Calculates the sum of tensor elements along an axis.