-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t5x: remove references to deprecated jax.random.KeyArray
The correct annotation for PRNG keys is `jax.Array` (see [JEP 9263](https://jax.readthedocs.io/en/latest/jep/9263-typed-keys.html)). Note that `jax.random.KeyArray` has always been aliased to `Any` for type checking, so changing this to `jax.Array` makes the annotations more meaningful. PiperOrigin-RevId: 570443873
- Loading branch information
1 parent
b051e46
commit 5107638
Showing
4 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters