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.4.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.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchrecurrent-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 944b432bd6974279f540885c2af88fc9c00eaad880dd6562f617852741e656bc
MD5 58ea4b8024a130cbfee9ab20e75baab1
BLAKE2b-256 0c9f398a7a29d175d307ef0cd0f01c56842e31b6d08a80167f16fb387c308db9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchrecurrent-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c0766e95cafd0754207e492bc366c72fd4070bb06d9a36fc4d3e0777d6ffd85
MD5 b88997307177f8a466cc3b3aac8a7e99
BLAKE2b-256 8fb727208ac6c5b4b713f47a55fea569c16786afca6533c2eac6645ef98d90bf

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