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
In SparseLinear.lua, methods updateParameters and zeroGradParameters are not defined and so inherited from nn.Module.
But these methods seems to be defined in the C code -- generic/SparseLinear.c -- and just never used.
I tried to overwrite these methods and call SparseLinear_updateParameters and SparseLinear_zeroGradParameter respectively, but a lastInput attribute is missing.
The text was updated successfully, but these errors were encountered:
In
SparseLinear.lua
, methodsupdateParameters
andzeroGradParameters
are not defined and so inherited fromnn.Module
.But these methods seems to be defined in the C code --
generic/SparseLinear.c
-- and just never used.I tried to overwrite these methods and call
SparseLinear_updateParameters
andSparseLinear_zeroGradParameter
respectively, but alastInput
attribute is missing.The text was updated successfully, but these errors were encountered: