diff options
author | Determinant <[email protected]> | 2015-05-26 16:59:25 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-26 16:59:25 +0800 |
commit | fd389b72623dcb44009076c3819a74a79b6f94be (patch) | |
tree | 037b2c0e2588e7236578bcf35d8bb08412877c5c /layer/affine.lua | |
parent | 565de7961df25daa3fb437bc7aac0303270387bf (diff) |
add add_row for cumatrix
Diffstat (limited to 'layer/affine.lua')
-rw-r--r-- | layer/affine.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layer/affine.lua b/layer/affine.lua index d5c50fc..5f1b4ce 100644 --- a/layer/affine.lua +++ b/layer/affine.lua @@ -9,3 +9,17 @@ end function LinearTransParam:write(pfhandle) self.trans:new_to_host():save(pfhandle) end + +function AffineLayer:__init(id, ltp, bp) + self.ltp = ltp + self.bp = bp +end + +function nerv.AffineLayer:update(input, output) +end + +function nerv.AffineLayer:propagate(input, output) +end + +function nerv.AffineLayer:back_propagate(input, output) +end |