diff options
author | Determinant <[email protected]> | 2015-05-18 11:09:58 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-18 11:09:58 +0800 |
commit | 0f953414dfdbd7abb7b867ce0c3f9390551c1083 (patch) | |
tree | 7b50dd77c0316acac8cdd8c83ad5a34b99b31a83 /cumatrix_example.lua | |
parent | 83006367aeec856bf8e59231c78df5b1802e3138 (diff) |
add sigmoid for cumatrix
Diffstat (limited to 'cumatrix_example.lua')
-rw-r--r-- | cumatrix_example.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cumatrix_example.lua b/cumatrix_example.lua index ccd88b8..ce11eea 100644 --- a/cumatrix_example.lua +++ b/cumatrix_example.lua @@ -25,3 +25,4 @@ d[1][1] = 2 d[2][2] = 3 print(d) print(t * d) +print(t:sigmoid()) |