We need a setup for the situation in which tanh is not used in place. It should then call Reshape for (*top)[0].