Skip to content

Commit b89250b

Browse files
committed
clean examples.
1 parent a4e914e commit b89250b

38 files changed

+206
-1100
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ build
1515
*.egg-info
1616
dist
1717
**/.ipynb_checkpoints
18+
**/data
19+
docs/source/examples

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Tianyi Zhang
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ pip install qtorch
3232
See our [read the docs](www.google.com)
3333

3434
## Tutorials
35-
- [An overview of QPyTorch's features](https://github.com/Tiiiger/QPyTorch/blob/master/examples/Functionality_Overview.ipynb)
36-
- [CIFAR-10 Low-Precision Training Tutorial](https://github.com/Tiiiger/QPyTorch/blob/master/examples/CIFAR10_Low_Precision_Training_Example.ipynb)
35+
- [An overview of QPyTorch's features](https://github.com/Tiiiger/QPyTorch/blob/master/examples/tutorial/Functionality_Overview.ipynb)
36+
- [CIFAR-10 Low-Precision Training Tutorial](https://github.com/Tiiiger/QPyTorch/blob/master/examples/tutorial/CIFAR10_Low_Precision_Training_Example.ipynb)
3737

3838
## Examples
39-
- Low-Precision VGGs and ResNets using fixed point, block floating point. [Examples](https://github.com/Tiiiger/QPyTorch/blob/master/examples)
39+
- Low-Precision VGGs and ResNets using fixed point, block floating point on CIFAR and ImageNet. [lp_train](https://github.com/Tiiiger/QPyTorch/blob/master/examples/lp_train)
4040
- Reproduction of WAGE in QPyTorch. [WAGE.qpytorch](https://github.com/Tiiiger/QPyTorch/blob/master/examples)
4141
- Reproduction of 8-bit Floating Point Training in QPyTorch. [IBM8.qpytorch](https://github.com/Tiiiger/QPyTorch/blob/master/examples)
4242

docs/source/conf.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969

7070
# General information about the project.
7171
project = 'QPyTorch'
72-
copyright = '2019, Tianyi Zhang, Zhiqiu Lin, Christopher De Sa'
73-
author = 'Tianyi Zhang, Zhiqiu Lin, Christopher De Sa'
72+
copyright = '2019, Tianyi Zhang, Zhiqiu Lin, Guandao Yang, Christopher De Sa'
73+
author = 'Tianyi Zhang, Zhiqiu Lin, Guandao Yang, Christopher De Sa'
7474

7575
# The version info for the project you're documenting, acts as replacement for
7676
# |version| and |release|, also used in various other places throughout the
@@ -179,6 +179,3 @@
179179
author, 'QPyTorch', 'One line description of project.',
180180
'Miscellaneous'),
181181
]
182-
183-
184-

docs/source/examples/CIFAR10_Low_Precision_Training_Example.ipynb

-245
This file was deleted.

docs/source/index.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ QPyTorch's documentation
1212
:maxdepth: 1
1313
:caption: Guides and Tutorials:
1414

15-
examples/Low_Precision_Quick_Intro
16-
examples/Functionality_Overview
17-
examples/CIFAR10_Low_Precision_Training_Example
15+
examples/tutorial/Functionality_Overview
16+
examples/tutorial/CIFAR10_Low_Precision_Training_Example
1817

1918
.. toctree::
2019
:maxdepth: 1

0 commit comments

Comments
 (0)