diff options
author | Qi Liu <liuq901@163.com> | 2016-05-05 21:08:07 +0800 |
---|---|---|
committer | Qi Liu <liuq901@163.com> | 2016-05-05 21:08:07 +0800 |
commit | 63d2755759495db0941e2944827c8c5936e39a8f (patch) | |
tree | 2f15f06765e2c3aad5cb3b76220114fc33aa0e7e /nerv/layer/projection.lua | |
parent | 40da326da485cae4e0a72a96db1fb0a3c90757e4 (diff) |
fix param_repo:add bug
Diffstat (limited to 'nerv/layer/projection.lua')
-rw-r--r-- | nerv/layer/projection.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/layer/projection.lua b/nerv/layer/projection.lua index d99401c..c0b5638 100644 --- a/nerv/layer/projection.lua +++ b/nerv/layer/projection.lua @@ -58,7 +58,7 @@ end function ProjectionLayer:get_params() local pr = nerv.ParamRepo({self.ltp1}, self.loc_type) for i = 2, #self.dim_in do - pr:add(self["ltp" .. i].id, self["ltp" .. i]) + pr:add(self["ltp" .. i]) end return pr end |