sum
- odl.sum(x, axis=None, dtype=None, keepdims=False)
Calculates the sum of the input array x. Note: This function might not be doing what you expect. If you want to return an array (np.ndarray, torch.Tensor…), you are in the right place. However, you cannot use it to create a new LinearSpaceSelement.