Skip to main content

Separable D-dimensional IIR filters for Deep Convolutional Graphs

Project description

ConvIIR: Separable IIR Layers for Deep Convolutional Networks

PyPI Version Python Versions TensorFlow License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conviir-0.0.1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conviir-0.0.1-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file conviir-0.0.1.tar.gz.

File metadata

  • Download URL: conviir-0.0.1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for conviir-0.0.1.tar.gz
Algorithm Hash digest
SHA256 43e51358f06ea50238d9bc1c19fa1cfab3baed7c44f5d1b29d63a017cd0d2912
MD5 d14d3f01341fd274ac11b9380c74bdbc
BLAKE2b-256 e9bf2086ec864ccceb2c937f313ad17050ae290c29daf0ed9ac5bfc624fab20d

See more details on using hashes here.

File details

Details for the file conviir-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: conviir-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for conviir-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b907c7214585212aa3417945edeeb2f5d1d2f62997657508a5d03604bf8aebbc
MD5 056b74ad1dedeebce45a0a95dfbfe794
BLAKE2b-256 4d21118b5b197fdcb5179b74a0e4b41842d2b2f698161e154fb7026211635e51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page