[Torch5-bugs] [ torch5-Bugs-3389124 ] Min and Max fail to manage a 1D Tensor
Status: Pre-Alpha
Brought to you by:
andresy
|
From: SourceForge.net <no...@so...> - 2011-08-09 17:14:43
|
Bugs item #3389124, was opened at 2011-08-09 19:14 Message generated for change (Tracker Item Submitted) made by patrick_zanon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=905598&aid=3389124&group_id=183526 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Patrick (patrick_zanon) Assigned to: Nobody/Anonymous (nobody) Summary: Min and Max fail to manage a 1D Tensor Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=905598&aid=3389124&group_id=183526 |