flax
0848d9cf
- [flex/linen]: Make `rngs` type "Optional" to avoid pytype errors.
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
[flex/linen]: Make `rngs` type "Optional" to avoid pytype errors. Setting `rngs` to None in apply() is valid (also the default), but setting it explicitly in a callee site causes pytype errors. PiperOrigin-RevId: 371438792
References
#1293 - [flex/linen]: Make `rngs` type "Optional" to avoid pytype errors.
Author
liviosoares
Committer
a-googler
Parents
2faf0eaf
Loading