WaveletViT: Discrete Wavelet Bank D-dimensional I/O Vision Transformer
waveletvit provides TensorFlow/Keras WaveletViT layers for 1D, 2D, and 3D multilevel wavelet-band tokenization, attention, and reconstruction.
Capabilities
WaveletTokenizer1D,WaveletTokenizer2D, andWaveletTokenizer3D.WaveletViTBlock1D,WaveletViTBlock2D, andWaveletViTBlock3D.WaveletAssembler1D,WaveletAssembler2D, andWaveletAssembler3D.UWaveletViTNet3Dfor a 3D U-Net with a WaveletViT bottleneck.
Limitations
- Inputs are TensorFlow tensors with channel-last layout.
- Spatial sizes should be compatible with the configured DWT levels.
Dependencies
tensorflowTFDWT
Installation
pip install waveletvit
Minimal Example
import tensorflow as tf
from waveletvit import UWaveletViTNet3D
model = UWaveletViTNet3D(
input_shape=(32, 32, 32, 1),
config=(16, 32, 64, 128),
n_classes=4,
levels=1,
wave="haar",
)
x = tf.random.normal([1, 32, 32, 32, 1])
y = model(x)
print(y.shape)
Citation
This software is released for broad research, educational, and engineering use. If this package proves useful in related work, please cite the following thesis, whose Chapter 4 presents the underlying theory and computational details:
@misc{tarafdar2026interpretablefrugallearningsystems,
title={Interpretable and Frugal Learning Systems Employing Multiresolution Pyramids and Volterra Kernels},
author={Kishore Kumar Tarafdar},
year={2026},
eprint={2606.15011},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/2606.15011},
}
License
Apache License 2.0. See LICENSE.
Copyright 2026 Kishore Kumar Tarafdar.
Metadata
Release files for WaveletViT 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| waveletvit-0.0.2.tar.gz | 21.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| waveletvit-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.8 kB
Release files / waveletvit-0.0.2.tar.gz
| Download URL | waveletvit-0.0.2.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cb6c4c9609a074c589174eafd01463ccfa7134eb8b41b54dda223ce89a13d88
|
|
BLAKE2b-256 checksum How to use checksums |
b083e2a47272ef227c23d690f4c8e20f1062579227f36689b7b323023fa8e146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / waveletvit-0.0.2-py3-none-any.whl
| Download URL | waveletvit-0.0.2-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
404e4306c81370f2a6f956b533e52034e615ef8d4f235dacb53081f5e5922d77
|
|
BLAKE2b-256 checksum How to use checksums |
b3bbd3199803a2f73248505bb139d37575bfe1637bc787ea6d4e7c3778c3ab54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for WaveletViT 0.0.2
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.