rocm_jax/docs/jax.lib.rst
Peter Hawkins 74f1ab0503 Export Device as jax.Device.
Users are writing things like jax.lib.xla_client.Device in type annotations which is not a public API. Add a supported public name for the Device type.
2023-02-02 12:58:15 -05:00

25 lines
458 B
ReStructuredText

``jax.lib`` module
==================
The `jax.lib` package is a set of internal tools and types for bridging between
JAX's Python frontend and its XLA backend.
jax.lib.xla_bridge
------------------
.. currentmodule:: jax.lib.xla_bridge
.. autosummary::
:toctree: _autosummary
default_backend
get_backend
get_compile_options
jax.lib.xla_client
------------------
.. currentmodule:: jaxlib.xla_client
.. autosummary::
:toctree: _autosummary