Skip to main content

Model2src - Convert pytorch model to source file.

Project description

Model2src

Convert pytorch model to source file.

Installation

For pip

pip install model2src

Usage

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

model2src-0.0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

model2src-0.0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page