diff options
author | Determinant <[email protected]> | 2015-06-05 17:53:05 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-05 17:53:05 +0800 |
commit | 37af4bed9c3680fdb9db569605f15013e9b6b64d (patch) | |
tree | 5f870d23f241edbc670c2778c955f6bd9d5eb1d5 /layer/sigmoid.lua | |
parent | eba6049a82455499c68ee875843b6f44d6164fa5 (diff) |
add get_params to all layers
Diffstat (limited to 'layer/sigmoid.lua')
-rw-r--r-- | layer/sigmoid.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layer/sigmoid.lua b/layer/sigmoid.lua index 220b7af..dd10fb9 100644 --- a/layer/sigmoid.lua +++ b/layer/sigmoid.lua @@ -25,3 +25,7 @@ end function SigmoidLayer:back_propagate(next_bp_err, bp_err, input, output) next_bp_err[1]:sigmoid_grad(bp_err[1], output[1]) end + +function SigmoidLayer:get_params() + return {} +end |