summaryrefslogtreecommitdiff
path: root/tests/dnn
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2021-01-22 21:44:14 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-01-28 09:45:13 +0800
commita163aa6cf7fea184a2e72cade7a9aa4f841a23f3 (patch)
tree8a5f31437786264b6da27e9ff98a95f21992857f /tests/dnn
parent24892fa4a790d074081c1fe42a118dd3ba01bc60 (diff)
tests/dnn: enable unit test dense
Diffstat (limited to 'tests/dnn')
-rw-r--r--tests/dnn/Makefile1
-rw-r--r--tests/dnn/dnn-layer-dense-test.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/dnn/Makefile b/tests/dnn/Makefile
index 8afdfab5d3..ef827520de 100644
--- a/tests/dnn/Makefile
+++ b/tests/dnn/Makefile
@@ -1,6 +1,7 @@
DNNTESTPROGS += dnn-layer-pad
DNNTESTPROGS += dnn-layer-conv2d
DNNTESTPROGS += dnn-layer-depth2space
+DNNTESTPROGS += dnn-layer-dense
DNNTESTPROGS += dnn-layer-mathbinary
DNNTESTPROGS += dnn-layer-maximum
DNNTESTPROGS += dnn-layer-mathunary
diff --git a/tests/dnn/dnn-layer-dense-test.c b/tests/dnn/dnn-layer-dense-test.c
index 755d3ebb31..696f7505e5 100644
--- a/tests/dnn/dnn-layer-dense-test.c
+++ b/tests/dnn/dnn-layer-dense-test.c
@@ -59,7 +59,7 @@ static int test(void)
print(list(output.flatten()))
*/
- ConvolutionalParams params;
+ DenseParams params;
DnnOperand operands[2];
int32_t input_indexes[1];
float input[1*5*6*3] = {