LSTM Variants
Install:pip install rnn-classifiers
from lstm_variants import LightweightLSTM
import torch
module = LightweightLSTM(input_size=5, hidden_size=32, batch_first=True)
batch_size, seq_len, input_size = 8, 35, 5
x = torch.rand(size=(batch_size, seq_len, input_size))
output, (h_t, c_t) = module(x)
Metadata
Release files for lstm-variants 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lstm-variants-0.1.2.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lstm_variants-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / lstm-variants-0.1.2.tar.gz
| Download URL | lstm-variants-0.1.2.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
792c86f560103ae6ff9d5da1316bc1711c2b764a6facc761d4cca1f69fa010ea
|
|
BLAKE2b-256 checksum How to use checksums |
3c45ca5d005340c9bd42983838f1fe2d64309e7769551bab5fc4f5d79054cb1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|
Release files / lstm_variants-0.1.2-py3-none-any.whl
| Download URL | lstm_variants-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef915d7b1f68584d9847b0c3fc35a33600e8781170a98ab7d0f583e9c4d330ab
|
|
BLAKE2b-256 checksum How to use checksums |
e3f662c554cac6381322f814a2483077ee5f307a4167b6a9d65e52e78c734198
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|