Skip to main content

Fast trainable multidimensional IIR filter layers in TensorFlow

Project description

IIRD: Fast Trainable Multidimensional IIR Filter Layers in TensorFlow

PyPI Version Python Versions TensorFlow License

IIRD provides trainable 1D, 2D, and 3D IIR filter layers for TensorFlow/Keras.

Copyright 2025 Kishore Kumar Tarafdar. Licensed under the Apache License, Version 2.0. See LICENSE.

Capabilities

  • IIR1D, IIR2D, and IIR3D Keras layers.
  • Trainable feedforward and feedback coefficients.
  • Batched multichannel TensorFlow tensors.
  • Frequency-response plotting utility.

Minimal Example

import tensorflow as tf
from IIRD import IIR1D, IIR2D, IIR3D

x1 = tf.random.normal([1, 64, 1])
y1 = IIR1D(Delays=2, filters=4)(x1)

x2 = tf.random.normal([1, 32, 32, 1])
y2 = IIR2D(Delays=2, filters=4)(x2)

x3 = tf.random.normal([1, 16, 16, 16, 1])
y3 = IIR3D(Delays=1, filters=2)(x3)

print(y1.shape, y2.shape, y3.shape)

Module Commands

python -m IIRD.IIR1D
python -m IIRD.IIR2D
python -m IIRD.IIR3D

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},
}

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

iird-0.0.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

iird-0.0.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for iird-0.0.1.tar.gz
Algorithm Hash digest
SHA256 33b8ea5812fd8ea3955e8f7959ee73ffc558f4f27ce71ce64af6397a0c60208e
MD5 149c4b6a5ac1f4a0e3bac90889114884
BLAKE2b-256 d56a2bb5a1a71e0afa2643295f8187c20564e62210cd5c96c900d8f37807269a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for iird-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38c2e7ab26f7c7b2a2e5a68a5f29a153e8b89b3f038c70aac1cde55d7caab731
MD5 90e07b58ce7a2a912ed521c762a1822a
BLAKE2b-256 15e1e3ffb3d69dfafbfb5edb066138a81157ebf61251fabb48d1b3195a33db23

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