项目
在 GitHub 查看
zalandoresearch/pytorch-dilated-rnn
关于
Dilated RNNs in pytorch
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PyTorch Dilated Recurrent Neural Networks
PyTorch implementation of Dilated Recurrent Neural Networks (DilatedRNN).
Getting Started
Installation:
$ pip3 install -r requirements.txt
Run the tests:
$ python tests.py
Example
Define a dilated RNN based on GRU cells with 9 layers, dilations 1, 2, 4, 8, 16, ... Then pass the hidden state to a further update
import drnn
import torch
n_input = 20
n_hidden = 32
n_layers = 9
cell_type = 'GRU'
model = drnn.DRNN(n_input, n_hidden, n_layers, cell_type)
x1 = torch.randn(23, 2, n_input)
x2 = torch.randn(23, 2, n_input)
out, hidden = model(x1)
out, hidden = model(x2, hidden)
Copy Task
$ python3 -m copy_memory.copymem_test --help
Character LeveL RNN
$ python3 -m char_rnn.char_rnn_test --help
探索相关项目
加载中…