:github_url: https://github.com/deepmind/optax/tree/master/docs
Optax
-----
Optax is a gradient processing and optimization library for JAX. It is designed
to facilitate research by providing building blocks that can be recombined in
custom ways in order to optimise parametric models such as, but not limited to,
deep neural networks.
Our goals are to
* Provide readable, well-tested, efficient implementations of core components,
* Improve researcher productivity by making it possible to combine low level
ingredients into custom optimiser (or other gradient processing components).
* Accelerate adoption of new ideas by making it easy for anyone to contribute.
We favour focusing on small composable building blocks that can be effectively
combined into custom solutions. Others may build upon these basic components
more complicated abstractions. Whenever reasonable, implementations prioritise
readability and structuring code to match standard equations, over code reuse.
Installation
------------
The latest release of Optax can be installed from
`PyPI `_ using
``pip install optax``
You may also install directly from GitHub, using the following command. This
can be used to obtain the most recent version of Optax.
``pip install git+git://github.com/deepmind/optax.git``
Note that Optax is built on top of JAX.
See `here `_
for instructions on installing JAX.
.. toctree::
:caption: Getting Started
:maxdepth: 1
optax-101
.. toctree::
:caption: Examples
:maxdepth: 1
gradient_accumulation
meta_learning
.. toctree::
:caption: Developer Documentation
:maxdepth: 1
design_docs
contributors
.. toctree::
:caption: API Documentation
:maxdepth: 2
api
The Team
--------
The development of Optax is led by Ross Hemsley, Matteo Hessel, Markus Kunesch
and Iurii Kemaev. The team relies on outstanding contributions from Research
Engineers and Research Scientists from throughout
`DeepMind `_ and
Alphabet. We are also very grateful to Optax's open source community for
contributing ideas, bug fixes, issues, design docs, and amazing new features.
The work on Optax is part of a wider effort to contribute to making the
`JAX Ecosystem `_
the best possible environment for ML/AI research.
Support
-------
If you are having issues, please let us know by filing an issue on our
`issue tracker `_.
License
-------
Optax is licensed under the Apache 2.0 License.
Indices and Tables
==================
* :ref:`genindex`