powered by
This function is equivalent to torch$numel()
# S3 method for torch.Tensor length(x)
tensor
the number of elements of a tensor as an integer