rocm_jax/docs/jax.rst

149 lines
2.1 KiB
ReStructuredText
Raw Normal View History

.. currentmodule:: jax
Public API: jax package
=======================
Subpackages
-----------
.. toctree::
2023-01-18 10:59:42 -08:00
:maxdepth: 1
jax.numpy
jax.scipy
jax.lax
jax.random
jax.sharding
jax.debug
jax.dlpack
jax.distributed
jax.flatten_util
jax.image
jax.nn
jax.ops
jax.profiler
jax.stages
jax.tree_util
jax.example_libraries
jax.experimental
2021-09-27 09:48:27 -07:00
.. toctree::
:hidden:
jax.lib
2023-01-18 10:59:42 -08:00
Configuration
-------------
.. autosummary::
:toctree: _autosummary
config
check_tracer_leaks
checking_leaks
debug_nans
debug_infs
default_device
default_matmul_precision
default_prng_impl
enable_checks
enable_custom_prng
enable_custom_vjp_by_custom_transpose
log_compiles
numpy_rank_promotion
transfer_guard
.. _jax-jit:
2019-07-20 14:40:31 +01:00
Just-in-time compilation (:code:`jit`)
--------------------------------------
.. autosummary::
:toctree: _autosummary
jit
disable_jit
ensure_compile_time_eval
xla_computation
make_jaxpr
eval_shape
device_put
device_put_replicated
device_put_sharded
2021-07-04 19:55:45 +08:00
device_get
default_backend
named_call
named_scope
block_until_ready
.. _jax-grad:
Automatic differentiation
-------------------------
.. autosummary::
:toctree: _autosummary
grad
value_and_grad
jacfwd
jacrev
hessian
jvp
linearize
linear_transpose
vjp
custom_jvp
custom_vjp
closure_convert
2020-06-25 07:26:26 -07:00
checkpoint
jax.Array (:code:`jax.Array`)
-----------------------------
.. autosummary::
:toctree: _autosummary
make_array_from_callback
make_array_from_single_device_arrays
Vectorization (:code:`vmap`)
----------------------------
.. autosummary::
:toctree: _autosummary
vmap
numpy.vectorize
Parallelization (:code:`pmap`)
------------------------------
.. autosummary::
:toctree: _autosummary
pmap
devices
local_devices
process_index
device_count
local_device_count
process_count
2022-08-24 14:04:47 -07:00
Callbacks
---------
.. autosummary::
:toctree: _autosummary
pure_callback
debug.callback
2022-09-12 15:39:33 -07:00
Miscellaneous
-------------
.. autosummary::
:toctree: _autosummary
print_environment_info