diff options
author | txh18 <[email protected]> | 2016-01-29 17:38:05 +0800 |
---|---|---|
committer | txh18 <[email protected]> | 2016-01-29 17:38:05 +0800 |
commit | 3f84267f9fe035ac7ed305a7d66ecab9f7ae50e3 (patch) | |
tree | 04995a49d2566250c709d458f8655179e6a6c421 | |
parent | d2ad8abe4bb8529c5b1ef4b3a956271e7d6d813b (diff) |
moved gru_t to tnn/layersT
-rw-r--r-- | nerv/Makefile | 2 | ||||
-rw-r--r-- | nerv/examples/lmptb/lmptb/layer/init.lua | 2 | ||||
-rw-r--r-- | nerv/tnn/init.lua | 1 | ||||
-rw-r--r-- | nerv/tnn/layersT/gru_t.lua (renamed from nerv/examples/lmptb/lmptb/layer/gru_t.lua) | 0 |
4 files changed, 3 insertions, 2 deletions
diff --git a/nerv/Makefile b/nerv/Makefile index 5c329f9..db5df22 100644 --- a/nerv/Makefile +++ b/nerv/Makefile @@ -36,7 +36,7 @@ LUA_LIBS := matrix/init.lua io/init.lua init.lua \ nn/init.lua nn/layer_repo.lua nn/param_repo.lua nn/layer_dag.lua \ io/sgd_buffer.lua \ tnn/init.lua tnn/layer_dag_t.lua tnn/sutil.lua tnn/tnn.lua \ - tnn/layersT/dropout_t.lua tnn/layersT/lstm_t.lua tnn/layersT/softmax_ce_t.lua + tnn/layersT/dropout_t.lua tnn/layersT/lstm_t.lua tnn/layersT/gru_t.lua tnn/layersT/softmax_ce_t.lua INCLUDE := -I $(LUA_INCDIR) -DLUA_USE_APICHECK #CUDA_BASE := /usr/local/cuda-7.0 diff --git a/nerv/examples/lmptb/lmptb/layer/init.lua b/nerv/examples/lmptb/lmptb/layer/init.lua index b345244..ceae009 100644 --- a/nerv/examples/lmptb/lmptb/layer/init.lua +++ b/nerv/examples/lmptb/lmptb/layer/init.lua @@ -1,6 +1,6 @@ require 'lmptb.layer.select_linear' require 'lmptb.layer.affine_recurrent_plusvec' -require 'lmptb.layer.gru_t' +--require 'lmptb.layer.gru_t' require 'lmptb.layer.lm_affine_recurrent' diff --git a/nerv/tnn/init.lua b/nerv/tnn/init.lua index b375fa8..7faca31 100644 --- a/nerv/tnn/init.lua +++ b/nerv/tnn/init.lua @@ -47,5 +47,6 @@ nerv.include('sutil.lua') nerv.include('tnn.lua') nerv.include('layersT/softmax_ce_t.lua') nerv.include('layersT/lstm_t.lua') +nerv.include('layersT/gru_t.lua') nerv.include('layersT/dropout_t.lua') nerv.include('layer_dag_t.lua') diff --git a/nerv/examples/lmptb/lmptb/layer/gru_t.lua b/nerv/tnn/layersT/gru_t.lua index 8f15cc8..8f15cc8 100644 --- a/nerv/examples/lmptb/lmptb/layer/gru_t.lua +++ b/nerv/tnn/layersT/gru_t.lua |