You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several *Table modules (e.g. JoinTable or CAddTable) store tables in their gradInput member variable but define no appropriate type(type) method. This leads to the issue that a model cannot change type (e.g. float<->cuda) once a backpropagation has been performed. The proposed fix is to define the method appropriately, e.g.
function CAddTable:type(type)
parent.type(self, type)
self.gradInput = {}
end
The text was updated successfully, but these errors were encountered:
Several *Table modules (e.g.
JoinTable
orCAddTable
) store tables in theirgradInput
member variable but define no appropriatetype(type)
method. This leads to the issue that a model cannot change type (e.g. float<->cuda) once a backpropagation has been performed. The proposed fix is to define the method appropriately, e.g.The text was updated successfully, but these errors were encountered: