flax
dc841b04 - Fix dtype handling for Adam and LAMB optimizers in 64bit mode.

Commit
4 years ago
Fix dtype handling for Adam and LAMB optimizers in 64bit mode. This prevents accidental upcasting of parameters due to wonky JAX integer + floating-point py-scalar + array dtype rules.
Author
Committer
Parents
Loading