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
Release history Release notifications | RSS feed
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.2.1.post1.tar.gz
(19.2 kB
view hashes)
Built Distribution
t3w-0.2.1.post1-py3-none-any.whl
(19.0 kB
view hashes)
Close
Hashes for t3w-0.2.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de312697aefdf7c4dfc2db778d1625b7c36cd8eae8d290e8d227f74c4df6dbb |
|
MD5 | 846cb86f8c9ff4a94f4434d4fa7afd3f |
|
BLAKE2b-256 | ddd441012b4959ad02e3ea3371a30b98b6487263a87fae8a6e981ec03158c300 |