Skip to main content

A package for recurrent neural networks in PyTorch

Project description

torchrecurrent

PyPI codecov Build Docs code style: black

Pytorch compatible implementation of various recurrent layers found in the literature. Disclaimer: torchrecurrent is an independent project and is not affiliated with the PyTorch project or Meta AI. The name reflects compatibility with PyTorch, not any official endorsement.

Installation

pip install torchrecurrent

Features

Short name Publication venue Official implementation
AntisymmetricRNN/GatedAntisymmetricRNN ICLR 2019
ATR EMNLP 2018 bzhangGo/ATR
BR/BRC PLOS ONE 2021 nvecoven/BRC
CFN ICLR 2017
coRNN ICLR 2021 tk-rusch/coRNN
FastRNN/FastGRNN NeurIPS 2018 Microsoft/EdgeML
FSRNN NeurIPS 2017 amujika/Fast-Slow-LSTM
IndRNN CVPR 2018 Sunnydreamrain/IndRNN_Theano_Lasagne
JANET arXiv 2018 JosvanderWesthuizen/janet
LEM ICLR 2022 tk-rusch/LEM
LiGRU IEEE Transactions on Emerging Topics in Computing 2018 mravanelli/theano-kaldi-rnn
LightRU MDPI Electronics 2023
MinimalRNN NeurIPS 2017
MultiplicativeLSTM Workshop ICLR 2017 benkrause/mLSTM
MGU International Journal of Automation and Computing 2016
MUT1/MUT2/MUT3 ICML 2015
NAS arXiv 2016 tensorflow_addons/rnn
OriginalLSTM Neural Computation 1997 -
PeepholeLSTM JMLR 2002
RAN arXiv 2017 kentonl/ran
RHN ICML 2017 jzilly/RecurrentHighwayNetworks
SCRN ICLR 2015 facebookarchive/SCRNNs
SGRN IET 2018
STAR IEEE Transactions on Pattern Analysis and Machine Intelligence 2022 0zgur0/STAckable-Recurrent-network
Typed RNN / GRU / LSTM ICML 2016
UGRNN ICLR 2017 -
UnICORNN ICML 2021 tk-rusch/unicornn
WMCLSTM Neural Networks 2021

See also

LuxRecurrentLayers.jl: Provides recurrent layers for Lux.jl in Julia.

RecurrentLayers.jl: Provides recurrent layers for Flux.jl in Julia.

ReservoirComputing.jl: Reservoir computing utilities for scientific machine learning. Essentially gradient free trained recurrent neural networks.

License

This project’s own code is distributed under the MIT License (see LICENSE). The primary intent of this software is academic research.

Third-party Attributions

Some cells are re-implementations of published methods that carry their own licenses:

Please consult each of those licenses for your obligations when using this code in commercial or closed-source settings.

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

torchrecurrent-0.1.5.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

torchrecurrent-0.1.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file torchrecurrent-0.1.5.tar.gz.

File metadata

  • Download URL: torchrecurrent-0.1.5.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for torchrecurrent-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ba936cc282f45f500c97aa1979522ab8ef9134da17db41324244e763801af12d
MD5 9dff3cd04b4f906f5b412b06fbfaeb81
BLAKE2b-256 47686b5bc8913ad7f4e0391e88b9e5fcb15e392b4c2fb829135c37f9fa4424a2

See more details on using hashes here.

File details

Details for the file torchrecurrent-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: torchrecurrent-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for torchrecurrent-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b3343b6ecd2699015f9a5ad4ebb264b93229720be581108f25e4e3f19a3e2d29
MD5 8489fde9a3d5fa7caebc0a487c0afeea
BLAKE2b-256 b11fac73221963dcd1acc22f1555ef493b7f7dc0e737cb23209748751ca66274

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