Skip to content
/ backpack Public
forked from f-dangel/backpack

BACKpropagation PACKage - A backpack for PyTorch that extends the backward pass of feedforward networks to compute quantities beyond the gradient

License

Notifications You must be signed in to change notification settings

taomo/backpack

 
 

Repository files navigation

BACKpropagation PACKage - a backpack for PyTorch

branch tests & examples coverage
master Build Status Coverage Status
development Build Status Coverage Status

A backpack for PyTorch that extends the backward pass of feedforward networks to compute quantities beyond the gradient.

  • Check out the cheatsheet for an overview of quantities.
  • Check out the examples on how to use the code.

Installation

pip install backpack-for-pytorch

Alternative: Clone the repository and run setup.py

git clone https://github.com/f-dangel/backpack.git ~/backpack
cd ~/backpack
python setup.py install

How to cite

If you are using backpack for your research, consider citing the paper

@inproceedings{dangel2020backpack,
    title     = {Back{PACK}: Packing more into Backprop},
    author    = {Felix Dangel and Frederik Kunstner and Philipp Hennig},
    booktitle = {International Conference on Learning Representations},
    year      = {2020},
    url       = {https://openreview.net/forum?id=BJlrF24twB}
}

About

BACKpropagation PACKage - A backpack for PyTorch that extends the backward pass of feedforward networks to compute quantities beyond the gradient

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 86.9%
  • HTML 7.0%
  • CSS 3.4%
  • Makefile 1.1%
  • Ruby 0.6%
  • Shell 0.4%
  • Other 0.6%