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
What does the optax.add_decayed_weights function actually implement?
For loss function $L$, penalty coefficient $\lambda$, and layer $l$, does it implement $L + \lambda \sum_l ||W_l||_2$ or $L +\lambda \sum_l ||W_l||_1$, i.e. L1 or L2 penalty? Whatever it implements is there a function for the other?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What does the
optax.add_decayed_weights
function actually implement?For loss function$L$ , penalty coefficient $\lambda$ , and layer $l$ , does it implement $L + \lambda \sum_l ||W_l||_2$ or $L +\lambda \sum_l ||W_l||_1$ , i.e. L1 or L2 penalty? Whatever it implements is there a function for the other?
Beta Was this translation helpful? Give feedback.
All reactions