This release is a pre-release and may not be stable for production use.
BayTorch - Bayesian layers in PyTorch
Bayesian layers are probabilistic layers where weights are stochastic and sampled from the posterior distribution or an approximation.
So far, this module includes diagonal Gaussian linear and convolutional layers with mean and standard deviation of every weight as learnable parameters, as well as an implementation of the variational free energy loss for stochastic gradient VI according to the Bayes-by-Backprop algorithm [1].
[1] Blundell et al., Weight Uncertainty in Neural Networks, 2015.
Installation
Install from PyPI
pip install baytorch
or clone the repository, build and install from source
git clone https://jugit.fz-juelich.de/ias-8/baytorch.git && cd baytorch
python -m build
pip install dist/baytorch*whl
Metadata
Release files for baytorch 0.0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| baytorch-0.0.1.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / baytorch-0.0.1.dev0-py3-none-any.whl
| Download URL | baytorch-0.0.1.dev0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35aec941644a08ce10d0048df9265d5b3c3a7c82898975ee4c57ce38b26808c1
|
|
BLAKE2b-256 checksum How to use checksums |
97d6badd867839d7a7cbc4bce525b3984ee97edcae9cd1e21b479dfaa06d180a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6
|
Security for baytorch 0.0.1.dev0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.