Skip to main content

Spiking Rational Kolmogorov-Arnold Network

Project description

srKAN

Spiking Rational Kolmogorov-Arnold Network.

Installation

pip install srkan

Usage

import torch
from srkan import SRKAN

# Create a network
net = SRKAN(
    sizes=[8, 16, 5],
    order=4, 
    dt=1e-3, 
    rank=4, 
    gated=True,
    use_norm=True
)

# Dummy input
x = (torch.rand(8, 64, 8) < 0.3).float()
out = net(x)

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

srkan-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

srkan-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file srkan-0.1.0.tar.gz.

File metadata

  • Download URL: srkan-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for srkan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a72d5358874c44c0db44bacfe5c5d75ba8fdc3f6e2f92741a2f69e5769e1f1d0
MD5 afb362ceef2c57e8ac9510e56a98ed4c
BLAKE2b-256 6dcdc11a10583da9da806c86e421d20b849b76581cbd8e2e3309d954f579b320

See more details on using hashes here.

File details

Details for the file srkan-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: srkan-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for srkan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7979d6c7f62a4ba1018d94ae01cf171bf8bef682d6c7fb74da7be90782a4b6a1
MD5 cf920230441df3afeaf119ebb96b0641
BLAKE2b-256 35d75b563ce822e1138f658cd16774b88f3cfbef8870287b391f9666f7c5f1b7

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