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