aboutsummaryrefslogtreecommitdiff
path: root/layer/bias.lua
diff options
context:
space:
mode:
Diffstat (limited to 'layer/bias.lua')
-rw-r--r--layer/bias.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/layer/bias.lua b/layer/bias.lua
index 6ddfe11..8cd326b 100644
--- a/layer/bias.lua
+++ b/layer/bias.lua
@@ -22,3 +22,7 @@ function BiasLayer:propagate(input, output)
output[1]:copy_fromd(input[1])
output[1]:add_row(self.bias.trans, 1.0)
end
+
+function BiasLayer:get_params()
+ return {self.bias}
+end