@@ -111,29 +111,43 @@ if(LITE_WITH_METAL)
111
111
endif ()
112
112
113
113
if (LITE_WITH_NNADAPTER )
114
- lite_cc_test_with_model_and_data (test_mobilenet_v1_fp32_nnadapter MODEL mobilenet_v1 DATA ILSVRC2012_500 )
115
- lite_cc_test_with_model_and_data (test_mobilenet_v1_int8_per_layer_nnadapter MODEL mobilenet_v1_int8_per_layer DATA ILSVRC2012_500 )
116
- lite_cc_test_with_model_and_data (test_mobilenet_v1_int8_per_channel_nnadapter MODEL mobilenet_v1_int8_per_channel DATA ILSVRC2012_500 )
117
- lite_cc_test_with_model_and_data (test_resnet50_fp32_nnadapter MODEL resnet50 DATA ILSVRC2012_500 )
118
- lite_cc_test_with_model_and_data (test_resnet50_int8_per_layer_nnadapter MODEL resnet50_int8_per_layer DATA ILSVRC2012_500 )
119
- lite_cc_test_with_model_and_data (test_ssd_mobilenet_v1_relu_voc_fp32_nnadapter MODEL ssd_mobilenet_v1_relu_voc_fp32_300 DATA PASCALVOC2012_500 )
120
- lite_cc_test_with_model_and_data (test_ssd_mobilenet_v1_relu_voc_int8_per_layer_nnadapter MODEL ssd_mobilenet_v1_relu_voc_int8_300_per_layer DATA PASCALVOC2012_500 )
121
- lite_cc_test_with_model_and_data (test_alexnet_v2_0_fp32_nnadapter SOURCE test_alexnet_fp32_nnadapter.cc MODEL AlexNet_v2_0 DATA ILSVRC2012_500 )
122
- lite_cc_test_with_model_and_data (test_densenet121_v2_0_fp32_nnadapter SOURCE test_densenet_121_fp32_nnadapter.cc MODEL DenseNet121_v2_0 DATA ILSVRC2012_500 )
123
- lite_cc_test_with_model_and_data (test_googlenet_v2_0_fp32_nnadapter SOURCE test_googlenet_fp32_nnadapter.cc MODEL GoogLeNet_v2_0 DATA ILSVRC2012_500 )
124
- lite_cc_test_with_model_and_data (test_efficientnet_b0_v2_0_fp32_nnadapter SOURCE test_efficientnet_b0_fp32_nnadapter.cc MODEL EfficientNetB0_v2_0 DATA ILSVRC2012_500 )
125
- lite_cc_test_with_model_and_data (test_inceptionv3_v2_0_fp32_nnadapter SOURCE test_inception_v3_fp32_nnadapter.cc MODEL InceptionV3_v2_0 DATA ILSVRC2012_500 )
126
- lite_cc_test_with_model_and_data (test_inceptionv4_v2_0_fp32_nnadapter SOURCE test_inception_v4_fp32_nnadapter.cc MODEL InceptionV4_v2_0 DATA ILSVRC2012_500 )
127
- lite_cc_test_with_model_and_data (test_mobilenetv1_v2_0_fp32_nnadapter SOURCE test_mobilenet_v1_fp32_nnadapter.cc MODEL MobileNetV1_v2_0 DATA ILSVRC2012_500 )
128
- lite_cc_test_with_model_and_data (test_mobilenetv2_v2_0_fp32_nnadapter SOURCE test_mobilenet_v2_fp32_nnadapter.cc MODEL MobileNetV2_v2_0 DATA ILSVRC2012_500 )
129
- lite_cc_test_with_model_and_data (test_mobilenetv3_large_x_1_0_v2_0_fp32_nnadapter SOURCE test_mobilenet_v3_large_x_1_0_fp32_nnadapter.cc MODEL MobileNetV3_large_x1_0_v2_0 DATA ILSVRC2012_500 )
130
- lite_cc_test_with_model_and_data (test_mobilenetv3_small_x_1_0_v2_0_fp32_nnadapter SOURCE test_mobilenet_v3_small_x_1_0_fp32_nnadapter.cc MODEL MobileNetV3_small_x1_0_v2_0 DATA ILSVRC2012_500 )
131
- lite_cc_test_with_model_and_data (test_resnet18_v2_0_fp32_nnadapter SOURCE test_resnet18_fp32_nnadapter.cc MODEL ResNet18_v2_0 DATA ILSVRC2012_500 )
132
- lite_cc_test_with_model_and_data (test_resnet50_v2_0_fp32_nnadapter SOURCE test_resnet50_fp32_nnadapter.cc MODEL ResNet50_v2_0 DATA ILSVRC2012_500 )
133
- lite_cc_test_with_model_and_data (test_resnet101_v2_0_fp32_nnadapter SOURCE test_resnet101_fp32_nnadapter.cc MODEL ResNet101_v2_0 DATA ILSVRC2012_500 )
134
- lite_cc_test_with_model_and_data (test_resnext50_v2_0_fp32_nnadapter SOURCE test_resnext50_fp32_nnadapter.cc MODEL ResNeXt50_32x4d_v2_0 DATA ILSVRC2012_500 )
135
- lite_cc_test_with_model_and_data (test_shufflenetv2_v2_0_fp32_nnadapter SOURCE test_shufflenet_v2_fp32_nnadapter.cc MODEL ShuffleNetV2_x1_0_v2_0 DATA ILSVRC2012_500 )
136
- lite_cc_test_with_model_and_data (test_squeezenetv1_v2_0_fp32_nnadapter SOURCE test_squeezenet_fp32_nnadapter.cc MODEL SqueezeNet1_0_v2_0 DATA ILSVRC2012_500 )
137
- lite_cc_test_with_model_and_data (test_vgg16_v2_0_fp32_nnadapter SOURCE test_vgg16_fp32_nnadapter.cc MODEL VGG16_v2_0 DATA ILSVRC2012_500 )
138
- lite_cc_test_with_model_and_data (test_vgg19_v2_0_fp32_nnadapter SOURCE test_vgg19_fp32_nnadapter.cc MODEL VGG19_v2_0 DATA ILSVRC2012_500 )
114
+ lite_cc_test_with_model_and_data (test_mobilenet_v1_fp32_v1_8_nnadapter SOURCE test_mobilenet_v1_fp32_v1_8_nnadapter.cc MODEL mobilenet_v1 DATA ILSVRC2012_500 )
115
+ lite_cc_test_with_model_and_data (test_mobilenet_v1_int8_per_layer_v1_8_nnadapter SOURCE test_mobilenet_v1_int8_per_layer_v1_8_nnadapter.cc MODEL mobilenet_v1_int8_per_layer DATA ILSVRC2012_500 )
116
+ lite_cc_test_with_model_and_data (test_mobilenet_v1_int8_per_channel_v1_8_nnadapter SOURCE test_mobilenet_v1_int8_per_channel_v1_8_nnadapter.cc MODEL mobilenet_v1_int8_per_channel DATA ILSVRC2012_500 )
117
+ lite_cc_test_with_model_and_data (test_resnet50_fp32_v1_8_nnadapter SOURCE test_resnet50_fp32_v1_8_nnadapter.cc MODEL resnet50 DATA ILSVRC2012_500 )
118
+ lite_cc_test_with_model_and_data (test_resnet50_int8_per_layer_v1_8_nnadapter SOURCE test_resnet50_int8_per_layer_v1_8_nnadapter.cc MODEL resnet50_int8_per_layer DATA ILSVRC2012_500 )
119
+ lite_cc_test_with_model_and_data (test_ssd_mobilenet_v1_relu_voc_int8_per_layer_v1_8_nnadapter SOURCE test_ssd_mobilenet_v1_relu_voc_int8_per_layer_v1_8_nnadapter.cc MODEL ssd_mobilenet_v1_relu_voc_int8_300_per_layer DATA VOC2012_100 )
120
+ lite_cc_test_with_model_and_data (test_ssd_mobilenet_v1_relu_voc_fp32_v1_8_nnadapter SOURCE test_ssd_mobilenet_v1_relu_voc_fp32_v1_8_nnadapter.cc MODEL ssd_mobilenet_v1_relu_voc_fp32_300 DATA VOC2012_100 )
121
+ lite_cc_test_with_model_and_data (test_ssd_mobilenet_v1_voc_fp32_v2_2_nnadapter SOURCE test_ssd_mobilenet_v1_voc_fp32_v2_2_nnadapter.cc MODEL ssd_mobilenet_v1_relu_voc_v2_2 DATA VOC2012_100 )
122
+ lite_cc_test_with_model_and_data (test_ssd_vgg16_voc_fp32_v2_2_nnadapter SOURCE test_ssd_vgg16_voc_fp32_v2_2_nnadapter.cc MODEL ssd_vgg16_voc_v2_2 DATA VOC2012_100 )
123
+ lite_cc_test_with_model_and_data (test_yolov3_darknet53_coco_fp32_v2_2_nnadapter SOURCE test_yolov3_darknet53_coco_fp32_v2_2_nnadapter.cc MODEL yolov3_darknet53_coco_v2_2 DATA COCO2017_100 )
124
+ lite_cc_test_with_model_and_data (test_yolov3_mobilenet_v1_coco_fp32_v2_2_nnadapter SOURCE test_yolov3_mobilenet_v1_coco_fp32_v2_2_nnadapter.cc MODEL yolov3_mobilenet_v1_coco_v2_2 DATA COCO2017_100 )
125
+ lite_cc_test_with_model_and_data (test_yolov3_mobilenet_v3_large_coco_fp32_v2_2_nnadapter SOURCE test_yolov3_mobilenet_v3_large_coco_fp32_v2_2_nnadapter.cc MODEL yolov3_mobilenet_v3_large_coco_v2_2 DATA COCO2017_100 )
126
+ lite_cc_test_with_model_and_data (test_yolov3_r50vd_dcn_coco_fp32_v2_2_nnadapter SOURCE test_yolov3_r50vd_dcn_coco_fp32_v2_2_nnadapter.cc MODEL yolov3_r50vd_dcn_coco_v2_2 DATA COCO2017_100 )
127
+ lite_cc_test_with_model_and_data (test_yolov4_cspdarknet_coco_fp32_v1_8_nnadapter SOURCE test_yolov4_cspdarknet_coco_fp32_v1_8_nnadapter.cc MODEL yolov4_cspdarknet_coco_v1_8 DATA COCO2017_100 )
128
+ lite_cc_test_with_model_and_data (test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_2_nnadapter SOURCE test_ppyolo_r50vd_dcn_1x_coco_fp32_v2_2_nnadapter.cc MODEL ppyolo_r50vd_dcn_1x_coco_v2_2 DATA COCO2017_100 )
129
+ lite_cc_test_with_model_and_data (test_alexnet_fp32_v2_0_nnadapter SOURCE test_alexnet_fp32_v2_0_nnadapter.cc MODEL AlexNet_v2_0 DATA ILSVRC2012_500 )
130
+ lite_cc_test_with_model_and_data (test_densenet121_fp32_v2_0_nnadapter SOURCE test_densenet121_fp32_v2_0_nnadapter.cc MODEL DenseNet121_v2_0 DATA ILSVRC2012_500 )
131
+ lite_cc_test_with_model_and_data (test_googlenet_fp32_v2_0_nnadapter SOURCE test_googlenet_fp32_v2_0_nnadapter.cc MODEL GoogLeNet_v2_0 DATA ILSVRC2012_500 )
132
+ lite_cc_test_with_model_and_data (test_efficientnet_b0_fp32_v2_0_nnadapter SOURCE test_efficientnet_b0_fp32_v2_0_nnadapter.cc MODEL EfficientNetB0_v2_0 DATA ILSVRC2012_500 )
133
+ lite_cc_test_with_model_and_data (test_inception_v3_fp32_v2_0_nnadapter SOURCE test_inception_v3_fp32_v2_0_nnadapter.cc MODEL InceptionV3_v2_0 DATA ILSVRC2012_500 )
134
+ lite_cc_test_with_model_and_data (test_inception_v4_fp32_v2_0_nnadapter SOURCE test_inception_v4_fp32_v2_0_nnadapter.cc MODEL InceptionV4_v2_0 DATA ILSVRC2012_500 )
135
+ lite_cc_test_with_model_and_data (test_mobilenet_v1_fp32_v2_0_nnadapter SOURCE test_mobilenet_v1_fp32_v2_0_nnadapter.cc MODEL MobileNetV1_v2_0 DATA ILSVRC2012_500 )
136
+ lite_cc_test_with_model_and_data (test_mobilenet_v2_fp32_v2_0_nnadapter SOURCE test_mobilenet_v2_fp32_v2_0_nnadapter.cc MODEL MobileNetV2_v2_0 DATA ILSVRC2012_500 )
137
+ lite_cc_test_with_model_and_data (test_mobilenet_v3_large_x_1_0_fp32_v2_0_nnadapter SOURCE test_mobilenet_v3_large_x_1_0_fp32_v2_0_nnadapter.cc MODEL MobileNetV3_large_x1_0_v2_0 DATA ILSVRC2012_500 )
138
+ lite_cc_test_with_model_and_data (test_mobilenet_v3_small_x_1_0_fp32_v2_0_nnadapter SOURCE test_mobilenet_v3_small_x_1_0_fp32_v2_0_nnadapter.cc MODEL MobileNetV3_small_x1_0_v2_0 DATA ILSVRC2012_500 )
139
+ lite_cc_test_with_model_and_data (test_resnet18_fp32_v2_0_nnadapter SOURCE test_resnet18_fp32_v2_0_nnadapter.cc MODEL ResNet18_v2_0 DATA ILSVRC2012_500 )
140
+ lite_cc_test_with_model_and_data (test_resnet50_fp32_v2_0_nnadapter SOURCE test_resnet50_fp32_v2_0_nnadapter.cc MODEL ResNet50_v2_0 DATA ILSVRC2012_500 )
141
+ lite_cc_test_with_model_and_data (test_resnet101_fp32_v2_0_nnadapter SOURCE test_resnet101_fp32_v2_0_nnadapter.cc MODEL ResNet101_v2_0 DATA ILSVRC2012_500 )
142
+ lite_cc_test_with_model_and_data (test_resnext50_fp32_v2_0_nnadapter SOURCE test_resnext50_fp32_v2_0_nnadapter.cc MODEL ResNeXt50_32x4d_v2_0 DATA ILSVRC2012_500 )
143
+ lite_cc_test_with_model_and_data (test_shufflenet_v2_fp32_v2_0_nnadapter SOURCE test_shufflenet_v2_fp32_v2_0_nnadapter.cc MODEL ShuffleNetV2_x1_0_v2_0 DATA ILSVRC2012_500 )
144
+ lite_cc_test_with_model_and_data (test_squeezenet_v1_fp32_v2_0_nnadapter SOURCE test_squeezenet_v1_fp32_v2_0_nnadapter.cc MODEL SqueezeNet1_0_v2_0 DATA ILSVRC2012_500 )
145
+ lite_cc_test_with_model_and_data (test_vgg16_fp32_v2_0_nnadapter SOURCE test_vgg16_fp32_v2_0_nnadapter.cc MODEL VGG16_v2_0 DATA ILSVRC2012_500 )
146
+ lite_cc_test_with_model_and_data (test_vgg19_fp32_v2_0_nnadapter SOURCE test_vgg19_fp32_v2_0_nnadapter.cc MODEL VGG19_v2_0 DATA ILSVRC2012_500 )
147
+ lite_cc_test_with_model_and_data (test_ch_ppocr_mobile_v2_0_det_fp32_v2_0_nnadapter SOURCE test_ch_ppocr_mobile_v2_0_det_fp32_v2_0_nnadapter.cc MODEL ch_ppocr_mobile_v2_0_det_v2_0 DATA ocr_db_data )
148
+ lite_cc_test_with_model_and_data (test_ch_ppocr_mobile_v2_0_rec_fp32_v2_0_nnadapter SOURCE test_ch_ppocr_mobile_v2_0_rec_fp32_v2_0_nnadapter.cc MODEL ch_ppocr_mobile_v2_0_rec_v2_0 DATA ocr_rec_data )
149
+ lite_cc_test_with_model_and_data (test_ernie_tiny_fp32_v2_0_nnadapter SOURCE test_ernie_tiny_fp32_v2_0_nnadapter.cc MODEL ernie_tiny_v2_0 DATA ernie_tiny_data )
150
+ lite_cc_test_with_model_and_data (test_higher_hrnet_w32_640_fp32_v2_0_nnadapter SOURCE test_higher_hrnet_w32_640_fp32_v2_0_nnadapter.cc MODEL higherhrnet_hrnet_w32_640_v2_0 DATA COCO2017_keypoints_100 )
151
+ lite_cc_test_with_model_and_data (test_hrnet_w32_384x288_fp32_v2_0_nnadapter SOURCE test_hrnet_w32_384x288_fp32_v2_0_nnadapter.cc MODEL hrnet_w32_384x288_v2_0 DATA COCO2017_keypoints_100 )
152
+ lite_cc_test_with_model_and_data (test_esrgan_psnr_x4_div2k_fp32_v2_0_nnadapter SOURCE test_esrgan_psnr_x4_div2k_fp32_v2_0_nnadapter.cc MODEL esrgan_psnr_x4_div2k_v2_0 DATA GAN_set14 )
139
153
endif ()
0 commit comments