aboutsummaryrefslogtreecommitdiff
path: root/embedding_example
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-08-04 14:42:08 +0800
committerDeterminant <[email protected]>2015-08-04 14:42:08 +0800
commit0223b6b88620d9235fc47818aaa5c86ae81d38d9 (patch)
tree2ed987bc90df48aa641c0e9819c74a17dc5ec182 /embedding_example
parent462d1982f299c8be4ae9a746e6ae7d04c04faa33 (diff)
...
Diffstat (limited to 'embedding_example')
-rw-r--r--embedding_example/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/embedding_example/main.c b/embedding_example/main.c
index 4e70892..4c6459c 100644
--- a/embedding_example/main.c
+++ b/embedding_example/main.c
@@ -49,12 +49,6 @@ void propagate(float for_fun) {
}
/* avoid gc */
nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(input);
- nerv_matrix_host_float_data_retain(output);
- nerv_matrix_host_float_data_retain(output);
- nerv_matrix_host_float_data_retain(output);
nerv_matrix_host_float_data_retain(output);
luaT_pushudata(L, input, nerv_matrix_host_float_tname);