flax
8ed5af59 - Fix linen wmt example cache init handling bug.

Commit
5 years ago
Fix linen wmt example cache init handling bug. AddPositionEmbs was initializing a cache index in the Encoder which does not use the cache, resulting in an error with our stricter mutability checks. PiperOrigin-RevId: 339313349
Author
Committer
Parents
Loading