Model summary for bitorch, based on the original torchinfo.
Project description
bittorchinfo
This project is an extended version of torchinfo. However we added support for binary layers, as used in bitorch. Please check out and use the original project, unless you specifically want to use this package in conjunction with bitorch.
Usage
pip install torchinfo
Contributing
All issues and pull requests are much appreciated! If you are wondering how to build the project:
- torchinfo is actively developed using the lastest version of Python.
- Changes should be backward compatible with Python 3.6, but this is subject to change in the future.
- Run
pip install -r requirements-dev.txt
. We use the latest versions of all dev packages. - Run
pre-commit install
. - To use auto-formatting tools, use
pre-commit run -a
. - To run unit tests, run
pytest
. - To update the expected output files, run
pytest --overwrite
. - To skip output file tests, use
pytest --no-output
References
- Thanks to @tyleryep for providing the torchinfo package.
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
bitorchinfo-0.1.0.tar.gz
(14.0 kB
view details)
Built Distribution
File details
Details for the file bitorchinfo-0.1.0.tar.gz
.
File metadata
- Download URL: bitorchinfo-0.1.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4125e8bcdf0a900241247576b05fda4ee1a84ac2b952c112af07730130d4fdc |
|
MD5 | 0724a2ebb2901d2a92550968df3caa41 |
|
BLAKE2b-256 | 1c7d51249170f9759e5bf73541fda8f52a1651e65f6031c8cfb0ea143c03ec89 |
File details
Details for the file bitorchinfo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bitorchinfo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a0cd953319988019715cd124d2940ecc1e0cf20b3762af893f29afb15b4406 |
|
MD5 | 3556103b7a314e080abd2de5af783dc7 |
|
BLAKE2b-256 | ad0d4e48cbd04a4af1fe4de53905d6c82730df64023e331ddd1d0be151f87d04 |