Skip to content

Commit

Permalink
Merge pull request #23566 from puct9:main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673453864
  • Loading branch information
Google-ML-Automation committed Sep 11, 2024
2 parents 10057eb + e5107c1 commit c708b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- :obj:`jax.typing.ArrayLike`: annotation for any value that is safe to implicitly cast to
a JAX array; this includes :class:`jax.Array`, :class:`numpy.ndarray`, as well as Python
builtin numeric values (e.g. :class:`int`, :class:`float`, etc.) and numpy scalar values
(e.g. :class:`numpy.int32`, :class:`numpy.flota64`, etc.)
(e.g. :class:`numpy.int32`, :class:`numpy.float64`, etc.)
- :obj:`jax.typing.DTypeLike`: annotation for any value that can be cast to a JAX-compatible
dtype; this includes strings (e.g. `'float32'`, `'int32'`), scalar types (e.g. `float`,
`np.float32`), dtypes (e.g. `np.dtype('float32')`), or objects with a dtype attribute
Expand Down

0 comments on commit c708b7c

Please sign in to comment.