Hi, when I call resize of Variable, the underlying data changes as follows:
criterion.x1
Variable containing:
-5
11
2
3
0
44
-1
32
15
0
[torch.FloatTensor of size 10]
criterion.x1.resize(10, 1)
Variable containing:
-5
4
0
-1
4
0
1
0
0
0
[torch.FloatTensor of size 10x1]
When I extract data out of Variable, same thing happens.
Did I miss something ?