ConvIIR: Separable IIR Layers for Deep Convolutional Networks
ConvIIR provides TensorFlow/Keras separable IIR convolution layers for 2D and 3D inputs.
Copyright 2025 Kishore Kumar Tarafdar.
Acknowledgement: 2D layer development support with credit to Ayush Raisoni.
Licensed under the Apache License, Version 2.0. See LICENSE.
Capabilities
- Stable direct-form I separable IIR convolution:
IIRConv2DStable,IIRConv3DStable. - Direct-form II separable IIR convolution:
IIRConv2DDFII,IIRConv3DDFII. - Keras-compatible layers for channel-last 2D and 3D tensors.
- Optional UNet-style 2D network blocks built from ConvIIR layers.
Limitations
- The core public API is the DF-I and DF-II 2D/3D IIR convolution layers.
- Experimental Wave+ViT helpers are not documented as public API in this package.
- Inputs are expected to use TensorFlow/Keras channel-last layout.
Installation
pip install ConvIIR
Minimal Example
import tensorflow as tf
from ConvIIR.SeparableIIRDFI2D import IIRConv2DStable
from ConvIIR.SeparableIIRDFI3D import IIRConv3DStable
x2 = tf.random.normal([1, 32, 32, 1])
y2 = IIRConv2DStable(filters=4, kernel_size=(3, 3), ar_order=2, ma_order=2)(x2)
x3 = tf.random.normal([1, 16, 16, 16, 1])
y3 = IIRConv3DStable(filters=2, kernel_size=(3, 3, 3), ar_order=2, ma_order=2)(x3)
print(y2.shape, y3.shape)
Module Imports
from ConvIIR.SeparableIIRDFI2D import IIRConv2DStable
from ConvIIR.SeparableIIRDFI3D import IIRConv3DStable
from ConvIIR.SeparableIIRDFII2D import IIRConv2DDFII
from ConvIIR.SeparableIIRDFII3D import IIRConv3DDFII
Citation
This software is released for broad research, educational, and engineering use. If this package helps your work, please cite the following paper:
@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.
Metadata
Release files for ConvIIR 0.0.1
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 | |
|---|---|---|---|---|
| conviir-0.0.1.tar.gz | 18.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| conviir-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.5 kB
Release files / conviir-0.0.1.tar.gz
| Download URL | conviir-0.0.1.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43e51358f06ea50238d9bc1c19fa1cfab3baed7c44f5d1b29d63a017cd0d2912
|
|
BLAKE2b-256 checksum How to use checksums |
e9bf2086ec864ccceb2c937f313ad17050ae290c29daf0ed9ac5bfc624fab20d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / conviir-0.0.1-py3-none-any.whl
| Download URL | conviir-0.0.1-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b907c7214585212aa3417945edeeb2f5d1d2f62997657508a5d03604bf8aebbc
|
|
BLAKE2b-256 checksum How to use checksums |
4d21118b5b197fdcb5179b74a0e4b41842d2b2f698161e154fb7026211635e51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for ConvIIR 0.0.1
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.