diff options
Diffstat (limited to 'cumatrix_example.lua')
-rw-r--r-- | cumatrix_example.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cumatrix_example.lua b/cumatrix_example.lua index 26e1dc4..f8235eb 100644 --- a/cumatrix_example.lua +++ b/cumatrix_example.lua @@ -10,11 +10,14 @@ for i = 0, m - 1 do dm[i][j] = t end end --- print(fm) +print(fm) fs = fm:softmax() -- print(fs) --- print(dm) +print(dm) ds = dm:softmax() -- print(ds) +print(fs) print(fs + fs) +print(ds + ds) print(fs - fs) +print(ds - ds) |