Tensors and Variables will be merged in the next release. In the current master version this happened already.
You could have a look at the breaking changes for the merge.
Thanks a lot for replying.
I have been confused by it for a while, and install/uninstall two versions again and again to debug. And I suggest to put the most recent changes log somewhere easy to find.
Well, I think it’s quite hard to maintain a current documentation of code which is changing a lot.
The release notes with a clear description will be available once the version is officially released
OK.
BTW, I found the code wouldn’t run with version 0.4, the error: RuntimeError: The size of tensor a (25) must match the size of tensor b (3250) at non-singleton dimension 3
x.data + grid_x
where, x.data is a (2, 5, 13, 25) Variable, and grid_x is a [3250] Variable. In version 0.3.1, they are all FloatTensor and work well. May be I have to convert them to FloatTensor?