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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
srkan-0.1.0-py3-none-any.whl
(6.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a72d5358874c44c0db44bacfe5c5d75ba8fdc3f6e2f92741a2f69e5769e1f1d0
|
|
| MD5 |
afb362ceef2c57e8ac9510e56a98ed4c
|
|
| BLAKE2b-256 |
6dcdc11a10583da9da806c86e421d20b849b76581cbd8e2e3309d954f579b320
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7979d6c7f62a4ba1018d94ae01cf171bf8bef682d6c7fb74da7be90782a4b6a1
|
|
| MD5 |
cf920230441df3afeaf119ebb96b0641
|
|
| BLAKE2b-256 |
35d75b563ce822e1138f658cd16774b88f3cfbef8870287b391f9666f7c5f1b7
|