witnn/CNNDemo/ResNet50WeightShape.cc

299 lines
18 KiB
C++
Raw Permalink Normal View History

2020-07-28 13:35:50 +08:00
int RN50_conv1_weight_shape[] = { 64, 3, 7, 7, };
int RN50_bn1_running_mean_shape[] = { 64, };
int RN50_bn1_running_var_shape[] = { 64, };
int RN50_bn1_weight_shape[] = { 64, };
int RN50_bn1_bias_shape[] = { 64, };
int RN50_layer1__modules_0_conv1_weight_shape[] = { 64, 64, 1, 1, };
int RN50_layer1__modules_0_bn1_running_mean_shape[] = { 64, };
int RN50_layer1__modules_0_bn1_running_var_shape[] = { 64, };
int RN50_layer1__modules_0_bn1_weight_shape[] = { 64, };
int RN50_layer1__modules_0_bn1_bias_shape[] = { 64, };
int RN50_layer1__modules_0_conv2_weight_shape[] = { 64, 64, 3, 3, };
int RN50_layer1__modules_0_bn2_running_mean_shape[] = { 64, };
int RN50_layer1__modules_0_bn2_running_var_shape[] = { 64, };
int RN50_layer1__modules_0_bn2_weight_shape[] = { 64, };
int RN50_layer1__modules_0_bn2_bias_shape[] = { 64, };
int RN50_layer1__modules_0_conv3_weight_shape[] = { 256, 64, 1, 1, };
int RN50_layer1__modules_0_bn3_running_mean_shape[] = { 256, };
int RN50_layer1__modules_0_bn3_running_var_shape[] = { 256, };
int RN50_layer1__modules_0_bn3_weight_shape[] = { 256, };
int RN50_layer1__modules_0_bn3_bias_shape[] = { 256, };
int RN50_layer1__modules_0_downsample__modules_0_weight_shape[] = { 256, 64, 1, 1, };
int RN50_layer1__modules_0_downsample__modules_1_running_mean_shape[] = { 256, };
int RN50_layer1__modules_0_downsample__modules_1_running_var_shape[] = { 256, };
int RN50_layer1__modules_0_downsample__modules_1_weight_shape[] = { 256, };
int RN50_layer1__modules_0_downsample__modules_1_bias_shape[] = { 256, };
int RN50_layer1__modules_1_conv1_weight_shape[] = { 64, 256, 1, 1, };
int RN50_layer1__modules_1_bn1_running_mean_shape[] = { 64, };
int RN50_layer1__modules_1_bn1_running_var_shape[] = { 64, };
int RN50_layer1__modules_1_bn1_weight_shape[] = { 64, };
int RN50_layer1__modules_1_bn1_bias_shape[] = { 64, };
int RN50_layer1__modules_1_conv2_weight_shape[] = { 64, 64, 3, 3, };
int RN50_layer1__modules_1_bn2_running_mean_shape[] = { 64, };
int RN50_layer1__modules_1_bn2_running_var_shape[] = { 64, };
int RN50_layer1__modules_1_bn2_weight_shape[] = { 64, };
int RN50_layer1__modules_1_bn2_bias_shape[] = { 64, };
int RN50_layer1__modules_1_conv3_weight_shape[] = { 256, 64, 1, 1, };
int RN50_layer1__modules_1_bn3_running_mean_shape[] = { 256, };
int RN50_layer1__modules_1_bn3_running_var_shape[] = { 256, };
int RN50_layer1__modules_1_bn3_weight_shape[] = { 256, };
int RN50_layer1__modules_1_bn3_bias_shape[] = { 256, };
int RN50_layer1__modules_2_conv1_weight_shape[] = { 64, 256, 1, 1, };
int RN50_layer1__modules_2_bn1_running_mean_shape[] = { 64, };
int RN50_layer1__modules_2_bn1_running_var_shape[] = { 64, };
int RN50_layer1__modules_2_bn1_weight_shape[] = { 64, };
int RN50_layer1__modules_2_bn1_bias_shape[] = { 64, };
int RN50_layer1__modules_2_conv2_weight_shape[] = { 64, 64, 3, 3, };
int RN50_layer1__modules_2_bn2_running_mean_shape[] = { 64, };
int RN50_layer1__modules_2_bn2_running_var_shape[] = { 64, };
int RN50_layer1__modules_2_bn2_weight_shape[] = { 64, };
int RN50_layer1__modules_2_bn2_bias_shape[] = { 64, };
int RN50_layer1__modules_2_conv3_weight_shape[] = { 256, 64, 1, 1, };
int RN50_layer1__modules_2_bn3_running_mean_shape[] = { 256, };
int RN50_layer1__modules_2_bn3_running_var_shape[] = { 256, };
int RN50_layer1__modules_2_bn3_weight_shape[] = { 256, };
int RN50_layer1__modules_2_bn3_bias_shape[] = { 256, };
int RN50_layer2__modules_0_conv1_weight_shape[] = { 128, 256, 1, 1, };
int RN50_layer2__modules_0_bn1_running_mean_shape[] = { 128, };
int RN50_layer2__modules_0_bn1_running_var_shape[] = { 128, };
int RN50_layer2__modules_0_bn1_weight_shape[] = { 128, };
int RN50_layer2__modules_0_bn1_bias_shape[] = { 128, };
int RN50_layer2__modules_0_conv2_weight_shape[] = { 128, 128, 3, 3, };
int RN50_layer2__modules_0_bn2_running_mean_shape[] = { 128, };
int RN50_layer2__modules_0_bn2_running_var_shape[] = { 128, };
int RN50_layer2__modules_0_bn2_weight_shape[] = { 128, };
int RN50_layer2__modules_0_bn2_bias_shape[] = { 128, };
int RN50_layer2__modules_0_conv3_weight_shape[] = { 512, 128, 1, 1, };
int RN50_layer2__modules_0_bn3_running_mean_shape[] = { 512, };
int RN50_layer2__modules_0_bn3_running_var_shape[] = { 512, };
int RN50_layer2__modules_0_bn3_weight_shape[] = { 512, };
int RN50_layer2__modules_0_bn3_bias_shape[] = { 512, };
int RN50_layer2__modules_0_downsample__modules_0_weight_shape[] = { 512, 256, 1, 1, };
int RN50_layer2__modules_0_downsample__modules_1_running_mean_shape[] = { 512, };
int RN50_layer2__modules_0_downsample__modules_1_running_var_shape[] = { 512, };
int RN50_layer2__modules_0_downsample__modules_1_weight_shape[] = { 512, };
int RN50_layer2__modules_0_downsample__modules_1_bias_shape[] = { 512, };
int RN50_layer2__modules_1_conv1_weight_shape[] = { 128, 512, 1, 1, };
int RN50_layer2__modules_1_bn1_running_mean_shape[] = { 128, };
int RN50_layer2__modules_1_bn1_running_var_shape[] = { 128, };
int RN50_layer2__modules_1_bn1_weight_shape[] = { 128, };
int RN50_layer2__modules_1_bn1_bias_shape[] = { 128, };
int RN50_layer2__modules_1_conv2_weight_shape[] = { 128, 128, 3, 3, };
int RN50_layer2__modules_1_bn2_running_mean_shape[] = { 128, };
int RN50_layer2__modules_1_bn2_running_var_shape[] = { 128, };
int RN50_layer2__modules_1_bn2_weight_shape[] = { 128, };
int RN50_layer2__modules_1_bn2_bias_shape[] = { 128, };
int RN50_layer2__modules_1_conv3_weight_shape[] = { 512, 128, 1, 1, };
int RN50_layer2__modules_1_bn3_running_mean_shape[] = { 512, };
int RN50_layer2__modules_1_bn3_running_var_shape[] = { 512, };
int RN50_layer2__modules_1_bn3_weight_shape[] = { 512, };
int RN50_layer2__modules_1_bn3_bias_shape[] = { 512, };
int RN50_layer2__modules_2_conv1_weight_shape[] = { 128, 512, 1, 1, };
int RN50_layer2__modules_2_bn1_running_mean_shape[] = { 128, };
int RN50_layer2__modules_2_bn1_running_var_shape[] = { 128, };
int RN50_layer2__modules_2_bn1_weight_shape[] = { 128, };
int RN50_layer2__modules_2_bn1_bias_shape[] = { 128, };
int RN50_layer2__modules_2_conv2_weight_shape[] = { 128, 128, 3, 3, };
int RN50_layer2__modules_2_bn2_running_mean_shape[] = { 128, };
int RN50_layer2__modules_2_bn2_running_var_shape[] = { 128, };
int RN50_layer2__modules_2_bn2_weight_shape[] = { 128, };
int RN50_layer2__modules_2_bn2_bias_shape[] = { 128, };
int RN50_layer2__modules_2_conv3_weight_shape[] = { 512, 128, 1, 1, };
int RN50_layer2__modules_2_bn3_running_mean_shape[] = { 512, };
int RN50_layer2__modules_2_bn3_running_var_shape[] = { 512, };
int RN50_layer2__modules_2_bn3_weight_shape[] = { 512, };
int RN50_layer2__modules_2_bn3_bias_shape[] = { 512, };
int RN50_layer2__modules_3_conv1_weight_shape[] = { 128, 512, 1, 1, };
int RN50_layer2__modules_3_bn1_running_mean_shape[] = { 128, };
int RN50_layer2__modules_3_bn1_running_var_shape[] = { 128, };
int RN50_layer2__modules_3_bn1_weight_shape[] = { 128, };
int RN50_layer2__modules_3_bn1_bias_shape[] = { 128, };
int RN50_layer2__modules_3_conv2_weight_shape[] = { 128, 128, 3, 3, };
int RN50_layer2__modules_3_bn2_running_mean_shape[] = { 128, };
int RN50_layer2__modules_3_bn2_running_var_shape[] = { 128, };
int RN50_layer2__modules_3_bn2_weight_shape[] = { 128, };
int RN50_layer2__modules_3_bn2_bias_shape[] = { 128, };
int RN50_layer2__modules_3_conv3_weight_shape[] = { 512, 128, 1, 1, };
int RN50_layer2__modules_3_bn3_running_mean_shape[] = { 512, };
int RN50_layer2__modules_3_bn3_running_var_shape[] = { 512, };
int RN50_layer2__modules_3_bn3_weight_shape[] = { 512, };
int RN50_layer2__modules_3_bn3_bias_shape[] = { 512, };
int RN50_layer3__modules_0_conv1_weight_shape[] = { 256, 512, 1, 1, };
int RN50_layer3__modules_0_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_0_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_0_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_0_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_0_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_0_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_0_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_0_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_0_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_0_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_0_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_0_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_0_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_0_bn3_bias_shape[] = { 1024, };
int RN50_layer3__modules_0_downsample__modules_0_weight_shape[] = { 1024, 512, 1, 1, };
int RN50_layer3__modules_0_downsample__modules_1_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_0_downsample__modules_1_running_var_shape[] = { 1024, };
int RN50_layer3__modules_0_downsample__modules_1_weight_shape[] = { 1024, };
int RN50_layer3__modules_0_downsample__modules_1_bias_shape[] = { 1024, };
int RN50_layer3__modules_1_conv1_weight_shape[] = { 256, 1024, 1, 1, };
int RN50_layer3__modules_1_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_1_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_1_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_1_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_1_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_1_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_1_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_1_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_1_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_1_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_1_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_1_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_1_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_1_bn3_bias_shape[] = { 1024, };
int RN50_layer3__modules_2_conv1_weight_shape[] = { 256, 1024, 1, 1, };
int RN50_layer3__modules_2_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_2_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_2_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_2_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_2_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_2_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_2_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_2_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_2_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_2_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_2_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_2_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_2_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_2_bn3_bias_shape[] = { 1024, };
int RN50_layer3__modules_3_conv1_weight_shape[] = { 256, 1024, 1, 1, };
int RN50_layer3__modules_3_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_3_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_3_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_3_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_3_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_3_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_3_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_3_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_3_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_3_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_3_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_3_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_3_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_3_bn3_bias_shape[] = { 1024, };
int RN50_layer3__modules_4_conv1_weight_shape[] = { 256, 1024, 1, 1, };
int RN50_layer3__modules_4_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_4_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_4_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_4_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_4_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_4_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_4_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_4_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_4_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_4_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_4_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_4_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_4_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_4_bn3_bias_shape[] = { 1024, };
int RN50_layer3__modules_5_conv1_weight_shape[] = { 256, 1024, 1, 1, };
int RN50_layer3__modules_5_bn1_running_mean_shape[] = { 256, };
int RN50_layer3__modules_5_bn1_running_var_shape[] = { 256, };
int RN50_layer3__modules_5_bn1_weight_shape[] = { 256, };
int RN50_layer3__modules_5_bn1_bias_shape[] = { 256, };
int RN50_layer3__modules_5_conv2_weight_shape[] = { 256, 256, 3, 3, };
int RN50_layer3__modules_5_bn2_running_mean_shape[] = { 256, };
int RN50_layer3__modules_5_bn2_running_var_shape[] = { 256, };
int RN50_layer3__modules_5_bn2_weight_shape[] = { 256, };
int RN50_layer3__modules_5_bn2_bias_shape[] = { 256, };
int RN50_layer3__modules_5_conv3_weight_shape[] = { 1024, 256, 1, 1, };
int RN50_layer3__modules_5_bn3_running_mean_shape[] = { 1024, };
int RN50_layer3__modules_5_bn3_running_var_shape[] = { 1024, };
int RN50_layer3__modules_5_bn3_weight_shape[] = { 1024, };
int RN50_layer3__modules_5_bn3_bias_shape[] = { 1024, };
int RN50_layer4__modules_0_conv1_weight_shape[] = { 512, 1024, 1, 1, };
int RN50_layer4__modules_0_bn1_running_mean_shape[] = { 512, };
int RN50_layer4__modules_0_bn1_running_var_shape[] = { 512, };
int RN50_layer4__modules_0_bn1_weight_shape[] = { 512, };
int RN50_layer4__modules_0_bn1_bias_shape[] = { 512, };
int RN50_layer4__modules_0_conv2_weight_shape[] = { 512, 512, 3, 3, };
int RN50_layer4__modules_0_bn2_running_mean_shape[] = { 512, };
int RN50_layer4__modules_0_bn2_running_var_shape[] = { 512, };
int RN50_layer4__modules_0_bn2_weight_shape[] = { 512, };
int RN50_layer4__modules_0_bn2_bias_shape[] = { 512, };
int RN50_layer4__modules_0_conv3_weight_shape[] = { 2048, 512, 1, 1, };
int RN50_layer4__modules_0_bn3_running_mean_shape[] = { 2048, };
int RN50_layer4__modules_0_bn3_running_var_shape[] = { 2048, };
int RN50_layer4__modules_0_bn3_weight_shape[] = { 2048, };
int RN50_layer4__modules_0_bn3_bias_shape[] = { 2048, };
int RN50_layer4__modules_0_downsample__modules_0_weight_shape[] = { 2048, 1024, 1, 1, };
int RN50_layer4__modules_0_downsample__modules_1_running_mean_shape[] = { 2048, };
int RN50_layer4__modules_0_downsample__modules_1_running_var_shape[] = { 2048, };
int RN50_layer4__modules_0_downsample__modules_1_weight_shape[] = { 2048, };
int RN50_layer4__modules_0_downsample__modules_1_bias_shape[] = { 2048, };
int RN50_layer4__modules_1_conv1_weight_shape[] = { 512, 2048, 1, 1, };
int RN50_layer4__modules_1_bn1_running_mean_shape[] = { 512, };
int RN50_layer4__modules_1_bn1_running_var_shape[] = { 512, };
int RN50_layer4__modules_1_bn1_weight_shape[] = { 512, };
int RN50_layer4__modules_1_bn1_bias_shape[] = { 512, };
int RN50_layer4__modules_1_conv2_weight_shape[] = { 512, 512, 3, 3, };
int RN50_layer4__modules_1_bn2_running_mean_shape[] = { 512, };
int RN50_layer4__modules_1_bn2_running_var_shape[] = { 512, };
int RN50_layer4__modules_1_bn2_weight_shape[] = { 512, };
int RN50_layer4__modules_1_bn2_bias_shape[] = { 512, };
int RN50_layer4__modules_1_conv3_weight_shape[] = { 2048, 512, 1, 1, };
int RN50_layer4__modules_1_bn3_running_mean_shape[] = { 2048, };
int RN50_layer4__modules_1_bn3_running_var_shape[] = { 2048, };
int RN50_layer4__modules_1_bn3_weight_shape[] = { 2048, };
int RN50_layer4__modules_1_bn3_bias_shape[] = { 2048, };
int RN50_layer4__modules_2_conv1_weight_shape[] = { 512, 2048, 1, 1, };
int RN50_layer4__modules_2_bn1_running_mean_shape[] = { 512, };
int RN50_layer4__modules_2_bn1_running_var_shape[] = { 512, };
int RN50_layer4__modules_2_bn1_weight_shape[] = { 512, };
int RN50_layer4__modules_2_bn1_bias_shape[] = { 512, };
int RN50_layer4__modules_2_conv2_weight_shape[] = { 512, 512, 3, 3, };
int RN50_layer4__modules_2_bn2_running_mean_shape[] = { 512, };
int RN50_layer4__modules_2_bn2_running_var_shape[] = { 512, };
int RN50_layer4__modules_2_bn2_weight_shape[] = { 512, };
int RN50_layer4__modules_2_bn2_bias_shape[] = { 512, };
int RN50_layer4__modules_2_conv3_weight_shape[] = { 2048, 512, 1, 1, };
int RN50_layer4__modules_2_bn3_running_mean_shape[] = { 2048, };
int RN50_layer4__modules_2_bn3_running_var_shape[] = { 2048, };
int RN50_layer4__modules_2_bn3_weight_shape[] = { 2048, };
int RN50_layer4__modules_2_bn3_bias_shape[] = { 2048, };
int RN50_fc_weight_shape[] = { 1000, 2048, };
int RN50_fc_bias_shape[] = { 1000, };
int input_0_shape[] = { 1, 3, 224, 224, };
int output_0_shape[] = { 1, 1000, };
int input_1_shape[] = { 1, 3, 224, 224, };
int output_1_shape[] = { 1, 1000, };
int input_2_shape[] = { 1, 3, 224, 224, };
int output_2_shape[] = { 1, 1000, };
int input_3_shape[] = { 1, 3, 224, 224, };
int output_3_shape[] = { 1, 1000, };
int input_4_shape[] = { 1, 3, 224, 224, };
int output_4_shape[] = { 1, 1000, };
int input_5_shape[] = { 1, 3, 224, 224, };
int output_5_shape[] = { 1, 1000, };
int input_6_shape[] = { 1, 3, 224, 224, };
int output_6_shape[] = { 1, 1000, };
int input_7_shape[] = { 1, 3, 224, 224, };
int output_7_shape[] = { 1, 1000, };
int input_8_shape[] = { 1, 3, 224, 224, };
int output_8_shape[] = { 1, 1000, };
int input_9_shape[] = { 1, 3, 224, 224, };
int output_9_shape[] = { 1, 1000, };
int verify_input_shape[] = { 1, 3, 224, 224, };
int verify_conv1_shape[] = { 1, 64, 112, 112, };
int verify_bn1_shape[] = { 1, 64, 112, 112, };
int verify_relu_shape[] = { 1, 64, 112, 112, };
int verify_maxpool_shape[] = { 1, 64, 56, 56, };
int verify_layer1_shape[] = { 1, 256, 56, 56, };
int verify_layer2_shape[] = { 1, 512, 28, 28, };
int verify_layer3_shape[] = { 1, 1024, 14, 14, };
int verify_layer4_shape[] = { 1, 2048, 7, 7, };
int verify_avgpool_shape[] = { 1, 2048, 1, 1, };
int verify_fc_shape[] = { 1, 1000, };