andresy/torch — Issue #5: Bug in Reshape.lua?
Author: schaul
Created: 2011-11-23 00:34:38+00:00
State: open

It appears that the backward pass of the reshape module is incorrectly assuming that its input is contiguous.

In my tests, this fixes the problem:
https://github.com/schaul/torch/commit/8208b4a41c878478db948306858960ff186cbdaf