diff options
author | Determinant <[email protected]> | 2015-05-27 12:02:44 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-27 12:02:44 +0800 |
commit | 44752a8175c54effd0c901333a7eb4cc71dd6810 (patch) | |
tree | 9794cfff9382e510298c729bb70b2cdd1ece23f7 /layer/affine.lua | |
parent | f8543464c13584e39bfacee694ee1ed80ac121f4 (diff) |
add implementation for sigmoid layer (not tested)
Diffstat (limited to 'layer/affine.lua')
-rw-r--r-- | layer/affine.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layer/affine.lua b/layer/affine.lua index 221aacd..94e7497 100644 --- a/layer/affine.lua +++ b/layer/affine.lua @@ -11,6 +11,7 @@ function LinearTransParam:write(pfhandle) end function AffineLayer:__init(id, global_conf, ltp, bp) + self.id = id self.ltp = ltp self.bp = bp self.gconf = global_conf |