aboutsummaryrefslogtreecommitdiff
path: root/layer/bias.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-20 20:00:25 +0800
committerDeterminant <[email protected]>2015-06-20 20:00:25 +0800
commitf3f4e74eb4dbb8829e5ee136ba4b0c0a7938b551 (patch)
tree8beb12182020267ce32904d646ad0c736c27dcd2 /layer/bias.lua
parent2ab9610a4fff798c1668cdc041515256fa813865 (diff)
change concept of ParamRepo; provide generalized param update; code clean-up; #25 #26 #27 #29
Diffstat (limited to 'layer/bias.lua')
-rw-r--r--layer/bias.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/layer/bias.lua b/layer/bias.lua
index 8cd326b..c99274d 100644
--- a/layer/bias.lua
+++ b/layer/bias.lua
@@ -24,5 +24,5 @@ function BiasLayer:propagate(input, output)
end
function BiasLayer:get_params()
- return {self.bias}
+ return nerv.ParamRepo({self.bias})
end