Tensor
[number] nElement()
Returns the number of elements of a tensor.
> x = torch.Tensor(4,5) > = x:nElement() -- 4x5 = 20! 20