diff options
author | Determinant <ted.sybil@gmail.com> | 2016-05-08 11:38:28 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2016-05-08 11:38:28 +0800 |
commit | 88b3f2a13fa3c01a684259e85ee8298e35f2ac09 (patch) | |
tree | 1c5ff4e2759ea88f6a9daa5fcafbc07d91951c00 /nerv/layer/window.lua | |
parent | e3ed809bb7d5d11b5b2cec559955b15db18db915 (diff) |
prepare for the replacement of `asr_trainer.lua` with `trainer.lua`
Diffstat (limited to 'nerv/layer/window.lua')
-rw-r--r-- | nerv/layer/window.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nerv/layer/window.lua b/nerv/layer/window.lua index 729ab58..fb74b14 100644 --- a/nerv/layer/window.lua +++ b/nerv/layer/window.lua @@ -11,6 +11,9 @@ function WindowLayer:bind_params() nerv.BiasParam, {1, self.dim_out[1]}, nerv.Param.gen_zero) + if self.lconf.no_update_all then + self.window.no_update = true + end end function WindowLayer:init() @@ -34,3 +37,9 @@ end function WindowLayer:get_params() return nerv.ParamRepo({self.window}, self.loc_type) end + +function WindowLayer:back_propagate() +end + +function WindowLayer:update() +end |