File size: 4,845 Bytes
fc0f7bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242

.. _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>