aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authortxh18 <[email protected]>2015-05-26 15:23:53 +0800
committertxh18 <[email protected]>2015-05-26 15:23:53 +0800
commitbe67a3a973bd58eff23af7add83e328c1f58451c (patch)
treebed14c3aafe069b416a587abe5908d2b858f0716 /examples
parentad6fa788f1b2e88167407922f18118cf905eecaf (diff)
...
Diffstat (limited to 'examples')
-rw-r--r--examples/mmatrix_example.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/mmatrix_example.lua b/examples/mmatrix_example.lua
index 53b7fed..8ddfe84 100644
--- a/examples/mmatrix_example.lua
+++ b/examples/mmatrix_example.lua
@@ -11,6 +11,9 @@ for i = 0, m - 1 do
end
end
print("test fm:get_dataref_value:", fm:get_dataref_value())
+print("forced a garbade collect")
+collectgarbage("collect")
+print("test fm:get_dataref_value:", fm:get_dataref_value())
print(fm)
-- print(fm:softmax())
print(dm)