1NETWORK_TESTER_TEST_SRCS := \ 2tensorflow/lite/micro/examples/network_tester/network_tester_test.cc 3 4ifeq ($(CO_PROCESSOR),ethos_u) 5 NETWORK_TESTER_TEST_SRCS += \ 6 $(MAKEFILE_DIR)/downloads/person_model_int8/person_detect_model_data_vela.cc \ 7 $(MAKEFILE_DIR)/downloads/person_model_int8/person_image_data.cc 8endif 9 10NETWORK_TESTER_TEST_HDRS := \ 11tensorflow/lite/micro/examples/network_tester/network_model.h \ 12tensorflow/lite/micro/examples/network_tester/input_data.h \ 13tensorflow/lite/micro/examples/network_tester/expected_output_data.h 14 15#Find any platform - specific rules for this example. 16include $(wildcard tensorflow/lite/micro/examples/network_tester/*/Makefile.inc) 17 18ifdef NETWORK_MODEL 19 INCLUDES += -include $(NETWORK_MODEL) 20endif 21 22ifdef OUTPUT_DATA 23 INCLUDES += -include $(OUTPUT_DATA) 24endif 25 26ifdef INPUT_DATA 27 INCLUDES += -include $(INPUT_DATA) 28endif 29 30ifdef ARENA_SIZE 31 CXXFLAGS += -DTENSOR_ARENA_SIZE=$(ARENA_SIZE) 32endif 33 34ifdef NUM_BYTES_TO_PRINT 35 CXXFLAGS += -DNUM_BYTES_TO_PRINT=$(NUM_BYTES_TO_PRINT) 36endif 37 38ifeq ($(COMPARE_OUTPUT_DATA),no) 39 CXXFLAGS += -DNO_COMPARE_OUTPUT_DATA 40endif 41 42ifdef NUM_INFERENCES 43 CXXFLAGS += -DNUM_INFERENCES=$(NUM_INFERENCES) 44endif 45 46# Builds a standalone object recognition binary. 47$(eval $(call microlite_test,network_tester_test,\ 48$(NETWORK_TESTER_TEST_SRCS),$(NETWORK_TESTER_TEST_HDRS))) 49