Skip to content

Commit

Permalink
Merge pull request pytorch#686 from pytorch/static_quantization_tutorial
Browse files Browse the repository at this point in the history
Static quantization tutorial
  • Loading branch information
SethHWeidman authored Oct 10, 2019
2 parents 6ff1ed9 + 836e35c commit 20f59a1
Show file tree
Hide file tree
Showing 4 changed files with 642 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ download:
wget -N https://s3.amazonaws.com/pytorch-tutorial-assets/wikitext-2.zip -P $(DATADIR)
unzip -q -o $(DATADIR)/wikitext-2.zip -d advanced_source/data/

# Download model for advanced_source/static_quantization_tutorial.py
wget -N https://s3.amazonaws.com/pytorch-tutorial-assets/mobilenet_quantization.pth -P $(DATADIR)
cp $(DATADIR)/mobilenet_quantization.pth advanced_source/data/mobilenet_quantization.pth

# Download dataset for advanced_source/static_quantization_tutorial.py
wget -N https://s3.amazonaws.com/pytorch-tutorial-assets/imagenet_1k.zip -P $(DATADIR)
unzip -q -o $(DATADIR)/imagenet_1k.zip -d advanced_source/data/


docs:
make download
make html
Expand Down
Binary file added _static/img/qat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 20f59a1

Please sign in to comment.