Returns the DoubleStorage used to store all the elements of the Tensor.
Basically, a Tensor is a particular way of viewing a Storage.
> x = torch.Tensor(4,5) > s = x:storage() > for i=1,s:size() do -- fill up the Storage >> s[i] = i >> end > print(x) -- s is interpreted by x as a 2D matrix 1 5 9 13 17 2 6 10 14 18 3 7 11 15 19 4 8 12 16 20 [torch.Tensor of dimension 4x5]