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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file model2src-0.0.1.tar.gz.

File metadata

  • Download URL: model2src-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.3

File hashes

Hashes for model2src-0.0.1.tar.gz
Algorithm Hash digest
SHA256 299a1e3cde7ec9dc725ef4e98f36757df9d6ed28cffb858e9992987b218582f6
MD5 0dac49546942e5a1a835e07d9b642301
BLAKE2b-256 68f088f00566e76aa31b077742e80829e260e8e0bc010567f05f268e93a2b3b4

See more details on using hashes here.

File details

Details for the file model2src-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: model2src-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.7.3

File hashes

Hashes for model2src-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9eb93bb0bb8851ccda000a0addcc88645888ed0767ecea10bf039f789fe6d4e4
MD5 eb5237b0309d865899e498aad67fa677
BLAKE2b-256 9a14d2d07c6091dde40f5fff09b146dd0bfabde4fb08afdede4fa4e36f2feee9

See more details on using hashes here.

Supported by

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