aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dnn/dnn-layer-mathbinary-test.c
diff options
context:
space:
mode:
authorTing Fu <ting.fu@intel.com>2020-08-25 11:47:50 +0800
committerGuo, Yejun <yejun.guo@intel.com>2020-08-25 13:03:46 +0800
commitc8ba0daf8dab2f5cbcdded37cd6383649933fbf3 (patch)
tree07fc4d82be5a16a925f5710ec370141e1163d778 /tests/dnn/dnn-layer-mathbinary-test.c
parent230cf9d1854b171727d1b10c2a2fbe0df9d1d489 (diff)
downloadffmpeg-c8ba0daf8dab2f5cbcdded37cd6383649933fbf3.tar.gz
dnn/native: add log error message
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'tests/dnn/dnn-layer-mathbinary-test.c')
-rw-r--r--tests/dnn/dnn-layer-mathbinary-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dnn/dnn-layer-mathbinary-test.c b/tests/dnn/dnn-layer-mathbinary-test.c
index 5422b2a207..c4da3f6a86 100644
--- a/tests/dnn/dnn-layer-mathbinary-test.c
+++ b/tests/dnn/dnn-layer-mathbinary-test.c
@@ -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, &params);
+ dnn_execute_layer_math_binary(operands, input_indexes, 1, &params, 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, &params);
+ dnn_execute_layer_math_binary(operands, input_indexes, 1, &params, 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, &params);
+ dnn_execute_layer_math_binary(operands, input_indexes, 2, &params, NULL);
output = operands[2].data;
for (int i = 0; i < sizeof(input0) / sizeof(float); i++) {