Skip to content

Commit 5fdaba6

Browse files
Key Word Spotting trials
1 parent 1b660c5 commit 5fdaba6

File tree

4 files changed

+213
-2
lines changed

4 files changed

+213
-2
lines changed

c_reference/tests/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ INCLUDE_DIR=../include
77
SRC_DIR=../src
88
IFLAGS = -I $(INCLUDE_DIR)
99

10-
all: test_avg_pool test_conv1d test_conv1d_depth test_conv1d_lr test_conv1d_lr_depth test_dscnn_lr test_dscnn_lr_depth_point test_fastgrnn_lr test_rnnpool test_quantized_utils test_quantized_fastgrnn test_quantized_rnnpool test_quantized_mbconv
10+
all: test_kws test_avg_pool test_conv1d test_conv1d_depth test_conv1d_lr test_conv1d_lr_depth test_dscnn_lr test_dscnn_lr_depth_point test_fastgrnn_lr test_rnnpool test_quantized_utils test_quantized_fastgrnn test_quantized_rnnpool test_quantized_mbconv
11+
12+
KWS_DIR=kws
13+
test_kws: $(KWS_DIR)/test_kws.c $(SRC_DIR)/conv_utils.o $(SRC_DIR)/conv1d.o $(SRC_DIR)/dscnn.o
14+
$(CC) -o $@ $^ $(IFLAGS) $(CFLAGS) -lm
1115

1216
DSCNN_DIR=dscnn
1317
test_dscnn_lr: $(DSCNN_DIR)/test_dscnn_lr.c $(SRC_DIR)/conv_utils.o $(SRC_DIR)/conv1d.o $(SRC_DIR)/dscnn.o
@@ -50,7 +54,7 @@ test_quantized_mbconv: $(MBCONV_DIR)/test_quantized_mbconv.c $(SRC_DIR)/quantize
5054
.PHONY: clean cleanest
5155

5256
clean:
53-
rm -f *.o *.gch test_avg_pool test_conv1d test_conv1d_depth test_conv1d_lr test_conv1d_lr_depth test_dscnn_lr test_dscnn_lr_depth_point test_fastgrnn_lr test_rnnpool test_quantized_utils test_quantized_fastgrnn test_quantized_rnnpool test_quantized_mbconv
57+
rm -f *.o *.gch test_kws test_avg_pool test_conv1d test_conv1d_depth test_conv1d_lr test_conv1d_lr_depth test_dscnn_lr test_dscnn_lr_depth_point test_fastgrnn_lr test_rnnpool test_quantized_utils test_quantized_fastgrnn test_quantized_rnnpool test_quantized_mbconv
5458

5559
cleanest: clean
5660
rm *~

c_reference/tests/kws/kws_io.h

Lines changed: 9 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)