summaryrefslogtreecommitdiff
path: root/layer/bias.lua
diff options
context:
space:
mode:
authorcloudygoose <[email protected]>2015-06-21 10:50:46 +0800
committercloudygoose <[email protected]>2015-06-21 10:50:46 +0800
commitad2c4013dec71667d6bbd5e9a249df2085208507 (patch)
tree474c536ff4a7d757bb61915a1bfc7a073f40d09f /layer/bias.lua
parent839d938df0d83ec311c5d1299923c667adff6a87 (diff)
parentf3f4e74eb4dbb8829e5ee136ba4b0c0a7938b551 (diff)
Merge upstream 'parameter update big-change'.
Merge remote-tracking branch 'upstream/master'
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