:orphan: Code examples and use cases ============================ .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_first_order_resnet_thumb.png :alt: :ref:`sphx_glr_use_cases_example_first_order_resnet.py` .. raw:: html
First order extensions with a ResNet
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_subsampling_thumb.png :alt: :ref:`sphx_glr_use_cases_example_subsampling.py` .. raw:: html
Mini-batch sub-sampling
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_extension_hook_thumb.png :alt: :ref:`sphx_glr_use_cases_example_extension_hook.py` .. raw:: html
Extension hook example
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_diag_ggn_optimizer_thumb.png :alt: :ref:`sphx_glr_use_cases_example_diag_ggn_optimizer.py` .. raw:: html
Diagonal Gauss-Newton Second order optimizer
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_batched_jacobians_thumb.png :alt: :ref:`sphx_glr_use_cases_example_batched_jacobians.py` .. raw:: html
Batched Jacobians
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_save_memory_convolutions_thumb.png :alt: :ref:`sphx_glr_use_cases_example_save_memory_convolutions.py` .. raw:: html
Saving memory in convolutions
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_retain_graph_thumb.png :alt: :ref:`sphx_glr_use_cases_example_retain_graph.py` .. raw:: html
BackPACK's retain_graph option
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_gradient_of_variance_thumb.png :alt: :ref:`sphx_glr_use_cases_example_gradient_of_variance.py` .. raw:: html
Gradient of backpropagated quantities
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_trace_estimation_thumb.png :alt: :ref:`sphx_glr_use_cases_example_trace_estimation.py` .. raw:: html
Hutchinson Trace Estimation
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_resnet_all_in_one_thumb.png :alt: :ref:`sphx_glr_use_cases_example_resnet_all_in_one.py` .. raw:: html
Residual networks
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_differential_privacy_thumb.png :alt: :ref:`sphx_glr_use_cases_example_differential_privacy.py` .. raw:: html
Differentially Private SGD.
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_rnn_thumb.png :alt: :ref:`sphx_glr_use_cases_example_rnn.py` .. raw:: html
Recurrent networks
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_cg_newton_thumb.png :alt: :ref:`sphx_glr_use_cases_example_cg_newton.py` .. raw:: html
Matrix-free second-order optimization
.. raw:: html
.. only:: html .. image:: /use_cases/images/thumb/sphx_glr_example_custom_module_thumb.png :alt: :ref:`sphx_glr_use_cases_example_custom_module.py` .. raw:: html
Custom module example
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /use_cases/example_first_order_resnet /use_cases/example_subsampling /use_cases/example_extension_hook /use_cases/example_diag_ggn_optimizer /use_cases/example_batched_jacobians /use_cases/example_save_memory_convolutions /use_cases/example_retain_graph /use_cases/example_gradient_of_variance /use_cases/example_trace_estimation /use_cases/example_resnet_all_in_one /use_cases/example_differential_privacy /use_cases/example_rnn /use_cases/example_cg_newton /use_cases/example_custom_module .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: use_cases_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: use_cases_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_