torch.numel torch.numel(input: Tensor) → int Returns the total number of elements in the input tensor. Parameters