torch.sum ... Returns the sum of all elements in the input tensor. Parameters ... dim (int or tuple of python:ints) – the dimension or dimensions to reduce.
確定! 回上一頁