Skip to main content

minGRU

Project description

minGRU

Implementation of the proposed minGRU in Pytorch

Install

$ pip install minGRU-pytorch

Usage

import torch
from minGRU_pytorch import minGRU

min_gru = minGRU(512)

x = torch.randn(2, 1024, 512)

out = min_gru(x)

assert x.shape == out.shape

Citations

@inproceedings{Feng2024WereRA,
    title   = {Were RNNs All We Needed?},
    author  = {Leo Feng and Frederick Tung and Mohamed Osama Ahmed and Yoshua Bengio and Hossein Hajimirsadegh},
    year    = {2024},
    url     = {https://api.semanticscholar.org/CorpusID:273025630}
}

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

mingru_pytorch-0.0.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

mingru_pytorch-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mingru_pytorch-0.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for mingru_pytorch-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c441f2e41a371d34cda46d76a9a70bd84859825c297027d47bc62d1240bf8a9
MD5 cb38b03d31395d9f6398837009054214
BLAKE2b-256 4bdb1bbce3bacd70fed18fbeb948a818bc80cc7412e53496052a1bdc3721d9a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mingru_pytorch-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82e869ce49046cb3d667811da8fbefff9aa385aab13f73374a4ca4e4d5bfad22
MD5 4db2cde62693e784e7c19473d8ed99a0
BLAKE2b-256 67f21ffc323127f76c2b57aebde14b33b5e3df566138917a27acc41fe44c194d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page