mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
tests/dnn: enable unit test dense
This commit is contained in:
parent
24892fa4a7
commit
a163aa6cf7
@ -1,6 +1,7 @@
|
|||||||
DNNTESTPROGS += dnn-layer-pad
|
DNNTESTPROGS += dnn-layer-pad
|
||||||
DNNTESTPROGS += dnn-layer-conv2d
|
DNNTESTPROGS += dnn-layer-conv2d
|
||||||
DNNTESTPROGS += dnn-layer-depth2space
|
DNNTESTPROGS += dnn-layer-depth2space
|
||||||
|
DNNTESTPROGS += dnn-layer-dense
|
||||||
DNNTESTPROGS += dnn-layer-mathbinary
|
DNNTESTPROGS += dnn-layer-mathbinary
|
||||||
DNNTESTPROGS += dnn-layer-maximum
|
DNNTESTPROGS += dnn-layer-maximum
|
||||||
DNNTESTPROGS += dnn-layer-mathunary
|
DNNTESTPROGS += dnn-layer-mathunary
|
||||||
|
@ -59,7 +59,7 @@ static int test(void)
|
|||||||
print(list(output.flatten()))
|
print(list(output.flatten()))
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ConvolutionalParams params;
|
DenseParams params;
|
||||||
DnnOperand operands[2];
|
DnnOperand operands[2];
|
||||||
int32_t input_indexes[1];
|
int32_t input_indexes[1];
|
||||||
float input[1*5*6*3] = {
|
float input[1*5*6*3] = {
|
||||||
|
@ -8,6 +8,11 @@ fate-dnn-layer-conv2d: $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
|
|||||||
fate-dnn-layer-conv2d: CMD = run $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
|
fate-dnn-layer-conv2d: CMD = run $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
|
||||||
fate-dnn-layer-conv2d: CMP = null
|
fate-dnn-layer-conv2d: CMP = null
|
||||||
|
|
||||||
|
FATE_DNN += fate-dnn-layer-dense
|
||||||
|
fate-dnn-layer-dense: $(DNNTESTSDIR)/dnn-layer-dense-test$(EXESUF)
|
||||||
|
fate-dnn-layer-dense: CMD = run $(DNNTESTSDIR)/dnn-layer-dense-test$(EXESUF)
|
||||||
|
fate-dnn-layer-dense: CMP = null
|
||||||
|
|
||||||
FATE_DNN += fate-dnn-layer-depth2space
|
FATE_DNN += fate-dnn-layer-depth2space
|
||||||
fate-dnn-layer-depth2space: $(DNNTESTSDIR)/dnn-layer-depth2space-test$(EXESUF)
|
fate-dnn-layer-depth2space: $(DNNTESTSDIR)/dnn-layer-depth2space-test$(EXESUF)
|
||||||
fate-dnn-layer-depth2space: CMD = run $(DNNTESTSDIR)/dnn-layer-depth2space-test$(EXESUF)
|
fate-dnn-layer-depth2space: CMD = run $(DNNTESTSDIR)/dnn-layer-depth2space-test$(EXESUF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user