Min and Max fail to manage a 1D Tensor
Status: Pre-Alpha
Brought to you by:
andresy
Min and Max functions fail to manage the 1D tensors, since the code tries to reduce the dimensionality by calling the THTensor_select function, and by adjusting the gradOutputPlusOneDim by adding one dimension... Of course, none of these steps are necessary when working with 1D tensors.
A patch for the bug