mlverse / luz

Higher Level API for torch
https://mlverse.github.io/luz/
Other
85 stars 13 forks source link

Context aliases #114

Closed dfalbel closed 1 year ago

dfalbel commented 1 year ago

Make opt and opt_name default aliases when there's a single optimizer, and they are not set. Allows for slighly for elegant step() functions.