Sum
Sum.__init__()
Sum.forward()
Additional Utility Layers
Classes
Compute the sum along an axis.
Bases: Module
Module
dim (int) – Dimension over which to sum.
Initialize internal Module state, shared by both nn.Module and ScriptModule.
Computes the sum along a dimension.
input (torch.Tensor) – The input on which to sum.
torch.Tensor
The resulting tensor summed along dimension dim.