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
Hi all,
I'm new to R torch and luz, according to issue#36, luz requires modules that are not yet initialized, but definding a custom optimizer require parameters of a model, so the model should be initialized, just as below:
Hi all,
I'm new to R torch and luz, according to issue#36, luz requires modules that are not yet initialized, but definding a custom optimizer require parameters of a model, so the model should be initialized, just as below:
I can run the example of luz without custom optimizer, just as the following lines:
So my question is, how can I use a custom optimizer together with luz?
for example:
I'll get an error when I code in this way.
Any idea?
Thanks in advance.
The text was updated successfully, but these errors were encountered: