aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authortxh18 <[email protected]>2015-05-26 15:14:37 +0800
committertxh18 <[email protected]>2015-05-26 15:14:37 +0800
commitad6fa788f1b2e88167407922f18118cf905eecaf (patch)
treeea8a8e0753ed8f49b37c475c4526a313e371568e /examples
parent676eb07afc1307c38c3b0089476f7cabe17cc72e (diff)
added nerv_matrix_(get_dataref_value) and tested in examples/mmatrix_example, however it is a little strange to return 101
Diffstat (limited to 'examples')
-rw-r--r--examples/mmatrix_example.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/mmatrix_example.lua b/examples/mmatrix_example.lua
index 679fde3..53b7fed 100644
--- a/examples/mmatrix_example.lua
+++ b/examples/mmatrix_example.lua
@@ -10,6 +10,7 @@ for i = 0, m - 1 do
dm[i][j] = t
end
end
+print("test fm:get_dataref_value:", fm:get_dataref_value())
print(fm)
-- print(fm:softmax())
print(dm)