Skip to main content

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.

Release files for model2src 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for model2src 0.0.1
File Size Uploaded
model2src-0.0.1.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for model2src 0.0.1
File Interpreter ABI Platform
model2src-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / model2src-0.0.1.tar.gz

Download URL model2src-0.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
299a1e3cde7ec9dc725ef4e98f36757df9d6ed28cffb858e9992987b218582f6
BLAKE2b-256 checksum
How to use checksums
68f088f00566e76aa31b077742e80829e260e8e0bc010567f05f268e93a2b3b4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / model2src-0.0.1-py3-none-any.whl

Download URL model2src-0.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eb93bb0bb8851ccda000a0addcc88645888ed0767ecea10bf039f789fe6d4e4
BLAKE2b-256 checksum
How to use checksums
9a14d2d07c6091dde40f5fff09b146dd0bfabde4fb08afdede4fa4e36f2feee9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page