From 0223b6b88620d9235fc47818aaa5c86ae81d38d9 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 4 Aug 2015 14:42:08 +0800 Subject: ... --- embedding_example/main.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'embedding_example') 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); -- cgit v1.2.3-70-g09d2