https://github.com/atcold/lstm-test
Starting to play with LSTM and graphs
https://github.com/atcold/lstm-test
Last synced: about 1 year ago
JSON representation
Starting to play with LSTM and graphs
- Host: GitHub
- URL: https://github.com/atcold/lstm-test
- Owner: Atcold
- Created: 2015-09-17T15:31:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-28T20:21:17.000Z (over 10 years ago)
- Last Synced: 2025-02-05T00:41:33.825Z (about 1 year ago)
- Language: Lua
- Size: 122 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LSTM test
To run the code type:
```bash
th -i LSTM-hw.lua
```
To output the weight of a `nn.Linear()` layer: check on the SVG which node you want. Then:
```lua
myNode = 20
getParameters(myNode)
```
To print the intput and output of the `LSTM_module` at time `t`:
```lua
t = 1
showTime(t)
```