To run the code type:
th -i LSTM-hw.lua
To output the weight of a nn.Linear()
layer: check on the SVG which node you want. Then:
myNode = 20
getParameters(myNode)
To print the intput and output of the LSTM_module
at time t
:
t = 1
showTime(t)
Starting to play with LSTM and graphs
To run the code type:
th -i LSTM-hw.lua
To output the weight of a nn.Linear()
layer: check on the SVG which node you want. Then:
myNode = 20
getParameters(myNode)
To print the intput and output of the LSTM_module
at time t
:
t = 1
showTime(t)
Starting to play with LSTM and graphs