| @@ -91,7 +91,7 @@ static int test_with_same(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { | ||||
| @@ -171,7 +171,7 @@ static int test_with_valid(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_avg_pool(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); ++i) { | ||||
| @@ -118,7 +118,7 @@ static int test_with_same_dilate(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_conv2d(operands, input_indexes, 1, ¶ms, &ctx); | |||||
| ff_dnn_execute_layer_conv2d(operands, input_indexes, 1, ¶ms, &ctx); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -222,7 +222,7 @@ static int test_with_valid(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_conv2d(operands, input_indexes, 1, ¶ms, &ctx); | |||||
| ff_dnn_execute_layer_conv2d(operands, input_indexes, 1, ¶ms, &ctx); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -107,7 +107,7 @@ static int test(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_dense(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_dense(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -81,7 +81,7 @@ static int test(void) | |||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| params.block_size = 2; | params.block_size = 2; | ||||
| dnn_execute_layer_depth2space(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_depth2space(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -71,7 +71,7 @@ static int test_broadcast_input0(DNNMathBinaryOperation op) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_math_binary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_math_binary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | ||||
| @@ -111,7 +111,7 @@ static int test_broadcast_input1(DNNMathBinaryOperation op) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_math_binary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_math_binary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | ||||
| @@ -159,7 +159,7 @@ static int test_no_broadcast(DNNMathBinaryOperation op) | |||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| input_indexes[1] = 1; | input_indexes[1] = 1; | ||||
| dnn_execute_layer_math_binary(operands, input_indexes, 2, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_math_binary(operands, input_indexes, 2, ¶ms, NULL); | |||||
| output = operands[2].data; | output = operands[2].data; | ||||
| for (int i = 0; i < sizeof(input0) / sizeof(float); i++) { | for (int i = 0; i < sizeof(input0) / sizeof(float); i++) { | ||||
| @@ -87,7 +87,7 @@ static int test(DNNMathUnaryOperation op) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_math_unary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_math_unary(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(input) / sizeof(float); ++i) { | for (int i = 0; i < sizeof(input) / sizeof(float); ++i) { | ||||
| @@ -45,7 +45,7 @@ static int test(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_maximum(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_maximum(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | for (int i = 0; i < sizeof(input) / sizeof(float); i++) { | ||||
| @@ -79,7 +79,7 @@ static int test_with_mode_symmetric(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -144,7 +144,7 @@ static int test_with_mode_reflect(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||
| @@ -210,7 +210,7 @@ static int test_with_mode_constant(void) | |||||
| operands[1].data = NULL; | operands[1].data = NULL; | ||||
| input_indexes[0] = 0; | input_indexes[0] = 0; | ||||
| dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| ff_dnn_execute_layer_pad(operands, input_indexes, 1, ¶ms, NULL); | |||||
| output = operands[1].data; | output = operands[1].data; | ||||
| for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) { | ||||