aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dnn/dnn-layer-conv2d-test.c
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2019-10-09 22:08:11 +0800
committerPedro Arthur <bygrandao@gmail.com>2019-10-15 18:56:25 -0300
commit3fd5ac7e92049b4f31026acdb53a762289f71448 (patch)
tree49916c1eca3e45d745c85a10da232c0d981fb3dd /tests/dnn/dnn-layer-conv2d-test.c
parentb78dc27bba2cc612643df7e9c84addc142273e71 (diff)
downloadffmpeg-3fd5ac7e92049b4f31026acdb53a762289f71448.tar.gz
avfilter/dnn: unify the layer execution function in native mode
Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'tests/dnn/dnn-layer-conv2d-test.c')
-rw-r--r--tests/dnn/dnn-layer-conv2d-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dnn/dnn-layer-conv2d-test.c b/tests/dnn/dnn-layer-conv2d-test.c
index afc5391484..9d13da37c8 100644
--- a/tests/dnn/dnn-layer-conv2d-test.c
+++ b/tests/dnn/dnn-layer-conv2d-test.c
@@ -113,7 +113,7 @@ static int test_with_same_dilate(void)
operands[1].data = NULL;
input_indexes[0] = 0;
- convolve(operands, input_indexes, 1, &params);
+ dnn_execute_layer_conv2d(operands, input_indexes, 1, &params);
output = operands[1].data;
for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) {
@@ -212,7 +212,7 @@ static int test_with_valid(void)
operands[1].data = NULL;
input_indexes[0] = 0;
- convolve(operands, input_indexes, 1, &params);
+ dnn_execute_layer_conv2d(operands, input_indexes, 1, &params);
output = operands[1].data;
for (int i = 0; i < sizeof(expected_output) / sizeof(float); i++) {