.. _gallery: 🖼️ Example gallery ================== .. toctree:: :glob: :hidden: :maxdepth: 1 _collections/examples/README.md _collections/examples/contrib/README.md .. raw:: html
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: Gradient Accumulation. :doc:`_collections/examples/gradient_accumulation` .. raw:: html
Gradient Accumulation
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: Meta-Learning. :doc:`_collections/examples/meta_learning` .. raw:: html
Meta-Learning.
.. raw:: html
.. only:: html .. image:: /images/examples/ogda.png :alt: Optimistic Gradient Descent in a Bilinear Min-Max Problem. :doc:`_collections/examples/ogda_example` .. raw:: html
Optimistic Gradient Descent in a Bilinear Min-Max Problem.
.. raw:: html
.. only:: html .. image:: /images/examples/cifar10_resnet.png :alt: ResNet on CIFAR10 with Flax and Optax. :doc:`_collections/examples/cifar10_resnet` .. raw:: html
ResNet on CIFAR10 with Flax and Optax.
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: :doc:`_collections/examples/flax_example` .. raw:: html
Train the parameters of a Flax module.
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: :doc:`_collections/examples/lookahead_mnist` .. raw:: html
Adam optimizer and lookahead wrapper on the MNIST dataset.
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: :doc:`_collections/examples/mlp_mnist` .. raw:: html
Train an MLP classifier on MNIST using Optax.
.. raw:: html
.. only:: html .. image:: /images/examples/adversarial.png :alt: Adversarial training of CNN on MNIST :doc:`_collections/examples/adversarial_training` .. raw:: html
Adversarial training of CNN on MNIST.
.. raw:: html
.. only:: html .. image:: /images/examples/tiny_shakespeare.png :alt: Character-level Transformer on Tiny Shakespeare :doc:`_collections/examples/nanolm` .. raw:: html
Character-level Transformer on Tiny Shakespeare.
.. raw:: html
Contrib Examples ---------------- Examples that make use of the :doc:`api/contrib` module. .. raw:: html
.. raw:: html
.. only:: html .. image:: /images/favicon.svg :alt: :doc:`_collections/examples/contrib/differentially_private_sgd` .. raw:: html
Differentially private convolutional neural network on MNIST.
.. raw:: html
.. only:: html .. image:: /images/examples/contrib/reduce_on_plateau.png :alt: :doc:`_collections/examples/contrib/reduce_on_plateau` .. raw:: html
Example usage of reduce_on_plateau learing rate scheduler.
.. raw:: html
.. only:: html .. image:: /images/examples/contrib/sam.png :alt: :doc:`_collections/examples/contrib/sam` .. raw:: html
Sharpness-Aware Minimization (SAM).
.. raw:: html