Replies: 1 comment
-
Nevermind. I just realized that the loss functions are already included as part of the model. Then, whatever learnable parameters that I declare inside the model will be automatically added to the parameter list that the optimizer updates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to append a new learnable parameter to the optimizer? Say, for example, I modify the loss function to add a new learnable parameter for weighing, how can I be sure that this is updated by the optimizer?
Beta Was this translation helpful? Give feedback.
All reactions