Skip to main content

Typed Thin PyTorch Wrapper

Project description

t3w.py - Typed Thin (Py)Torch Wrapper

T3W is a lightweight framework for training PyTorch models written by Yuyao Huang during his PhD at Tongji University.

  • T3W is "typed". It leverages stronger and static typing compared to normal python code for clearer architecture and less bugs. The programming model is object-oriented. Users (you) are required to implement interfaces as subclasses and inject them as dependencies.
  • T3W is "thin". With the philosophy "less is more" in mind, it leverages a minimal self-contained codebase that basically only depends on PyTorch to run. The plugin system under interface ISideEffect makes T3W not only thin, but also highly extensible.
  • T3W stands with "PyTorch".

See the concise example mnist_example.py.

If you feel like using t3w.py, you can install it with pip install t3w.

API documentation is currently available at https://tjyuyao.github.io/t3w/api/. We are going to add more detailed user guide in the future.

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

t3w-0.3.3.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

t3w-0.3.3-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file t3w-0.3.3.tar.gz.

File metadata

  • Download URL: t3w-0.3.3.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for t3w-0.3.3.tar.gz
Algorithm Hash digest
SHA256 b75b4ed52c860b9a1f12eea4c76455530e9868493d0edfcc21bdc2b3462b924b
MD5 deab1885c454f9e84be1f7e2205dc805
BLAKE2b-256 65036f7493feecc683c2372db3d128b2a22cc89c3592db1659872981f9b6d07b

See more details on using hashes here.

File details

Details for the file t3w-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: t3w-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for t3w-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4670d46ea7d2823e6fd9b5d61c67662aaefd504d64ccf4446d10287b2b32c8
MD5 8268fc6f60cfb4b25bd44df44e6a2d70
BLAKE2b-256 479a021dda9d6b4ab8bcbbba7801c58fb9b9c0491b7050afef31f8fd8e2d9712

See more details on using hashes here.

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