diff options
Diffstat (limited to 'nerv/layer')
-rw-r--r-- | nerv/layer/rnn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/layer/rnn.lua b/nerv/layer/rnn.lua index 0b5ccaa..333be9e 100644 --- a/nerv/layer/rnn.lua +++ b/nerv/layer/rnn.lua @@ -20,7 +20,7 @@ function RNNLayer:__init(id, global_conf, layer_conf) ['nerv.AffineLayer'] = { main = {dim_in = {din, dout}, dim_out = {dout}, pr = pr}, }, - [layers.activation] = { + [layer_conf.activation] = { activation = {dim_in = {dout}, dim_out = {dout}}, }, ['nerv.DuplicateLayer'] = { |