|
|
|
@@ -71,7 +71,7 @@ static int test_broadcast_input0(DNNMathBinaryOperation op) |
|
|
|
operands[1].data = NULL; |
|
|
|
|
|
|
|
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; |
|
|
|
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; |
|
|
|
|
|
|
|
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; |
|
|
|
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[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; |
|
|
|
for (int i = 0; i < sizeof(input0) / sizeof(float); i++) { |
|
|
|
|