Metadata-Version: 2.1
Name: model2src
Version: 0.0.1
Summary: Model2src - Convert pytorch model to source file.
Home-page: https://github.com/misads/model2src
Author: Haoyu Xu
Author-email: xuhaoyu@tju.edu.cn
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: torch

# Model2src

Convert pytorch model to source file.

### Installation

**For pip**  

```bash
pip install model2src
```


### Usage

```python
from torchvision.models import vgg16
from model2src import model2src
model = vgg16()
model2src(model)
```

Of course, you can also convert yourself's models as well.

