BackPACK Logo
1.5.0

Getting started

  • How to use BackPACK
  • Example using all extensions

Backpack

  • Supported models
  • Available Extensions
  • Good to know
  • Code examples and use cases
    • First order extensions with a ResNet
    • Mini-batch sub-sampling
    • Extension hook example
    • Diagonal Gauss-Newton Second order optimizer
    • Custom module example
    • Saving memory in convolutions
    • Gradient of backpropagated quantities
    • Hutchinson Trace Estimation
    • Residual networks
    • Differentially Private SGD.
    • Recurrent networks
    • Matrix-free second-order optimization
BackPACK
  • »
  • Code examples and use cases
  • Edit on GitHub

Code examples and use cases

First order extensions with a ResNet

First order extensions with a ResNet

Mini-batch sub-sampling

Mini-batch sub-sampling

Extension hook example

Extension hook example

Diagonal Gauss-Newton Second order optimizer

Diagonal Gauss-Newton Second order optimizer

Custom module example

Custom module example

Saving memory in convolutions

Saving memory in convolutions

Gradient of backpropagated quantities

Gradient of backpropagated quantities

Hutchinson Trace Estimation

Hutchinson Trace Estimation

Residual networks

Residual networks

Differentially Private SGD.

Differentially Private SGD.

Recurrent networks

Recurrent networks

Matrix-free second-order optimization

Matrix-free second-order optimization

Download all examples in Python source code: use_cases_python.zip

Download all examples in Jupyter notebooks: use_cases_jupyter.zip

Gallery generated by Sphinx-Gallery

Previous Next

© Copyright 2019, F. Dangel, F. Kunstner. Revision 0ab94219.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 1.5.0
Versions
master
1.5.0
1.4.0
1.3.0
1.2.0
development
Downloads
On Read the Docs
Project Home
Builds