From e4e1c965d7d11da4e75856ae8cc4b34e034971ee Mon Sep 17 00:00:00 2001 From: auphelia Date: Fri, 3 May 2024 15:21:14 +0100 Subject: [PATCH] [MNV1,RN18,VGG] Cleanup specialize layer and folding configs --- build/mobilenet-v1/build.py | 9 +- .../U200_specialize_layers_config.json | 180 ------------ .../U250_specialize_layers_config.json | 180 ------------ .../U280_specialize_layers_config.json | 180 ------------ .../U50_specialize_layers_config.json | 180 ------------ .../ZCU102_specialize_layers_config.json | 261 ------------------ build/resnet50/build.py | 2 +- ...olded_16.json => U250_folding_config.json} | 0 .../specialize_layers_config.json | 129 --------- 9 files changed, 8 insertions(+), 1113 deletions(-) delete mode 100644 build/mobilenet-v1/specialize_layers_config/U200_specialize_layers_config.json delete mode 100644 build/mobilenet-v1/specialize_layers_config/U250_specialize_layers_config.json delete mode 100644 build/mobilenet-v1/specialize_layers_config/U280_specialize_layers_config.json delete mode 100644 build/mobilenet-v1/specialize_layers_config/U50_specialize_layers_config.json delete mode 100644 build/mobilenet-v1/specialize_layers_config/ZCU102_specialize_layers_config.json rename build/resnet50/folding_config/{U250_folding_config_no_doublepack_pe_folded_16.json => U250_folding_config.json} (100%) delete mode 100644 build/vgg10-radioml/specialize_layers_config.json diff --git a/build/mobilenet-v1/build.py b/build/mobilenet-v1/build.py index c2d3821..711a603 100644 --- a/build/mobilenet-v1/build.py +++ b/build/mobilenet-v1/build.py @@ -124,6 +124,12 @@ def select_build_steps(platform): # for Zynq, use the board name as the release name # e.g. ZCU104 release_platform_name = platform_name + # for ZCU104 we provide a specialize layer json + specialize_layer_file = ( + "specialize_layers_config/ZCU104_specialize_layers_config.json" + if platform_name == "ZCU104" + else None + ) platform_dir = "release/%s" % release_platform_name os.makedirs(platform_dir, exist_ok=True) @@ -131,8 +137,7 @@ def select_build_steps(platform): steps=select_build_steps(platform_name), output_dir="output_%s_%s" % (model_name, release_platform_name), folding_config_file="folding_config/%s_folding_config.json" % platform_name, - specialize_layers_config_file="specialize_layers_config/%s_specialize_layers_config.json" - % platform_name, + specialize_layers_config_file=specialize_layer_file, synth_clk_period_ns=select_clk_period(platform_name), board=platform_name, shell_flow_type=shell_flow_type, diff --git a/build/mobilenet-v1/specialize_layers_config/U200_specialize_layers_config.json b/build/mobilenet-v1/specialize_layers_config/U200_specialize_layers_config.json deleted file mode 100644 index 5a33106..0000000 --- a/build/mobilenet-v1/specialize_layers_config/U200_specialize_layers_config.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Defaults": {}, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "hls" - }, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "VVAU_0": { - "preferred_impl_style": "hls" - }, - "MVAU_1": { - "preferred_impl_style": "hls" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "VVAU_1": { - "preferred_impl_style": "hls" - }, - "MVAU_2": { - "preferred_impl_style": "hls" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "VVAU_2": { - "preferred_impl_style": "hls" - }, - "MVAU_3": { - "preferred_impl_style": "hls" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "VVAU_3": { - "preferred_impl_style": "hls" - }, - "MVAU_4": { - "preferred_impl_style": "hls" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "VVAU_4": { - "preferred_impl_style": "hls" - }, - "MVAU_5": { - "preferred_impl_style": "hls" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "VVAU_5": { - "preferred_impl_style": "hls" - }, - "MVAU_6": { - "preferred_impl_style": "hls" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_7": { - "preferred_impl_style": "rtl" - }, - "VVAU_6": { - "preferred_impl_style": "hls" - }, - "MVAU_7": { - "preferred_impl_style": "hls" - }, - "FMPadding_7": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_8": { - "preferred_impl_style": "rtl" - }, - "VVAU_7": { - "preferred_impl_style": "hls" - }, - "MVAU_8": { - "preferred_impl_style": "hls" - }, - "FMPadding_8": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_9": { - "preferred_impl_style": "rtl" - }, - "VVAU_8": { - "preferred_impl_style": "hls" - }, - "MVAU_9": { - "preferred_impl_style": "hls" - }, - "FMPadding_9": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_10": { - "preferred_impl_style": "rtl" - }, - "VVAU_9": { - "preferred_impl_style": "hls" - }, - "MVAU_10": { - "preferred_impl_style": "hls" - }, - "FMPadding_10": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_11": { - "preferred_impl_style": "rtl" - }, - "VVAU_10": { - "preferred_impl_style": "hls" - }, - "MVAU_11": { - "preferred_impl_style": "hls" - }, - "FMPadding_11": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_12": { - "preferred_impl_style": "rtl" - }, - "VVAU_11": { - "preferred_impl_style": "hls" - }, - "MVAU_12": { - "preferred_impl_style": "hls" - }, - "FMPadding_12": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_13": { - "preferred_impl_style": "rtl" - }, - "VVAU_12": { - "preferred_impl_style": "hls" - }, - "MVAU_13": { - "preferred_impl_style": "hls" - }, - "ConvolutionInputGenerator_14": { - "preferred_impl_style": "rtl" - }, - "Pool_0": { - "preferred_impl_style": "hls" - }, - "MVAU_14": { - "preferred_impl_style": "hls" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "hls" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } - } diff --git a/build/mobilenet-v1/specialize_layers_config/U250_specialize_layers_config.json b/build/mobilenet-v1/specialize_layers_config/U250_specialize_layers_config.json deleted file mode 100644 index 5a33106..0000000 --- a/build/mobilenet-v1/specialize_layers_config/U250_specialize_layers_config.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Defaults": {}, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "hls" - }, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "VVAU_0": { - "preferred_impl_style": "hls" - }, - "MVAU_1": { - "preferred_impl_style": "hls" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "VVAU_1": { - "preferred_impl_style": "hls" - }, - "MVAU_2": { - "preferred_impl_style": "hls" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "VVAU_2": { - "preferred_impl_style": "hls" - }, - "MVAU_3": { - "preferred_impl_style": "hls" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "VVAU_3": { - "preferred_impl_style": "hls" - }, - "MVAU_4": { - "preferred_impl_style": "hls" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "VVAU_4": { - "preferred_impl_style": "hls" - }, - "MVAU_5": { - "preferred_impl_style": "hls" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "VVAU_5": { - "preferred_impl_style": "hls" - }, - "MVAU_6": { - "preferred_impl_style": "hls" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_7": { - "preferred_impl_style": "rtl" - }, - "VVAU_6": { - "preferred_impl_style": "hls" - }, - "MVAU_7": { - "preferred_impl_style": "hls" - }, - "FMPadding_7": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_8": { - "preferred_impl_style": "rtl" - }, - "VVAU_7": { - "preferred_impl_style": "hls" - }, - "MVAU_8": { - "preferred_impl_style": "hls" - }, - "FMPadding_8": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_9": { - "preferred_impl_style": "rtl" - }, - "VVAU_8": { - "preferred_impl_style": "hls" - }, - "MVAU_9": { - "preferred_impl_style": "hls" - }, - "FMPadding_9": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_10": { - "preferred_impl_style": "rtl" - }, - "VVAU_9": { - "preferred_impl_style": "hls" - }, - "MVAU_10": { - "preferred_impl_style": "hls" - }, - "FMPadding_10": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_11": { - "preferred_impl_style": "rtl" - }, - "VVAU_10": { - "preferred_impl_style": "hls" - }, - "MVAU_11": { - "preferred_impl_style": "hls" - }, - "FMPadding_11": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_12": { - "preferred_impl_style": "rtl" - }, - "VVAU_11": { - "preferred_impl_style": "hls" - }, - "MVAU_12": { - "preferred_impl_style": "hls" - }, - "FMPadding_12": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_13": { - "preferred_impl_style": "rtl" - }, - "VVAU_12": { - "preferred_impl_style": "hls" - }, - "MVAU_13": { - "preferred_impl_style": "hls" - }, - "ConvolutionInputGenerator_14": { - "preferred_impl_style": "rtl" - }, - "Pool_0": { - "preferred_impl_style": "hls" - }, - "MVAU_14": { - "preferred_impl_style": "hls" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "hls" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } - } diff --git a/build/mobilenet-v1/specialize_layers_config/U280_specialize_layers_config.json b/build/mobilenet-v1/specialize_layers_config/U280_specialize_layers_config.json deleted file mode 100644 index 5a33106..0000000 --- a/build/mobilenet-v1/specialize_layers_config/U280_specialize_layers_config.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Defaults": {}, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "hls" - }, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "VVAU_0": { - "preferred_impl_style": "hls" - }, - "MVAU_1": { - "preferred_impl_style": "hls" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "VVAU_1": { - "preferred_impl_style": "hls" - }, - "MVAU_2": { - "preferred_impl_style": "hls" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "VVAU_2": { - "preferred_impl_style": "hls" - }, - "MVAU_3": { - "preferred_impl_style": "hls" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "VVAU_3": { - "preferred_impl_style": "hls" - }, - "MVAU_4": { - "preferred_impl_style": "hls" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "VVAU_4": { - "preferred_impl_style": "hls" - }, - "MVAU_5": { - "preferred_impl_style": "hls" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "VVAU_5": { - "preferred_impl_style": "hls" - }, - "MVAU_6": { - "preferred_impl_style": "hls" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_7": { - "preferred_impl_style": "rtl" - }, - "VVAU_6": { - "preferred_impl_style": "hls" - }, - "MVAU_7": { - "preferred_impl_style": "hls" - }, - "FMPadding_7": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_8": { - "preferred_impl_style": "rtl" - }, - "VVAU_7": { - "preferred_impl_style": "hls" - }, - "MVAU_8": { - "preferred_impl_style": "hls" - }, - "FMPadding_8": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_9": { - "preferred_impl_style": "rtl" - }, - "VVAU_8": { - "preferred_impl_style": "hls" - }, - "MVAU_9": { - "preferred_impl_style": "hls" - }, - "FMPadding_9": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_10": { - "preferred_impl_style": "rtl" - }, - "VVAU_9": { - "preferred_impl_style": "hls" - }, - "MVAU_10": { - "preferred_impl_style": "hls" - }, - "FMPadding_10": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_11": { - "preferred_impl_style": "rtl" - }, - "VVAU_10": { - "preferred_impl_style": "hls" - }, - "MVAU_11": { - "preferred_impl_style": "hls" - }, - "FMPadding_11": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_12": { - "preferred_impl_style": "rtl" - }, - "VVAU_11": { - "preferred_impl_style": "hls" - }, - "MVAU_12": { - "preferred_impl_style": "hls" - }, - "FMPadding_12": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_13": { - "preferred_impl_style": "rtl" - }, - "VVAU_12": { - "preferred_impl_style": "hls" - }, - "MVAU_13": { - "preferred_impl_style": "hls" - }, - "ConvolutionInputGenerator_14": { - "preferred_impl_style": "rtl" - }, - "Pool_0": { - "preferred_impl_style": "hls" - }, - "MVAU_14": { - "preferred_impl_style": "hls" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "hls" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } - } diff --git a/build/mobilenet-v1/specialize_layers_config/U50_specialize_layers_config.json b/build/mobilenet-v1/specialize_layers_config/U50_specialize_layers_config.json deleted file mode 100644 index 5a33106..0000000 --- a/build/mobilenet-v1/specialize_layers_config/U50_specialize_layers_config.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "Defaults": {}, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "hls" - }, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "VVAU_0": { - "preferred_impl_style": "hls" - }, - "MVAU_1": { - "preferred_impl_style": "hls" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "VVAU_1": { - "preferred_impl_style": "hls" - }, - "MVAU_2": { - "preferred_impl_style": "hls" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "VVAU_2": { - "preferred_impl_style": "hls" - }, - "MVAU_3": { - "preferred_impl_style": "hls" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "VVAU_3": { - "preferred_impl_style": "hls" - }, - "MVAU_4": { - "preferred_impl_style": "hls" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "VVAU_4": { - "preferred_impl_style": "hls" - }, - "MVAU_5": { - "preferred_impl_style": "hls" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "VVAU_5": { - "preferred_impl_style": "hls" - }, - "MVAU_6": { - "preferred_impl_style": "hls" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_7": { - "preferred_impl_style": "rtl" - }, - "VVAU_6": { - "preferred_impl_style": "hls" - }, - "MVAU_7": { - "preferred_impl_style": "hls" - }, - "FMPadding_7": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_8": { - "preferred_impl_style": "rtl" - }, - "VVAU_7": { - "preferred_impl_style": "hls" - }, - "MVAU_8": { - "preferred_impl_style": "hls" - }, - "FMPadding_8": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_9": { - "preferred_impl_style": "rtl" - }, - "VVAU_8": { - "preferred_impl_style": "hls" - }, - "MVAU_9": { - "preferred_impl_style": "hls" - }, - "FMPadding_9": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_10": { - "preferred_impl_style": "rtl" - }, - "VVAU_9": { - "preferred_impl_style": "hls" - }, - "MVAU_10": { - "preferred_impl_style": "hls" - }, - "FMPadding_10": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_11": { - "preferred_impl_style": "rtl" - }, - "VVAU_10": { - "preferred_impl_style": "hls" - }, - "MVAU_11": { - "preferred_impl_style": "hls" - }, - "FMPadding_11": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_12": { - "preferred_impl_style": "rtl" - }, - "VVAU_11": { - "preferred_impl_style": "hls" - }, - "MVAU_12": { - "preferred_impl_style": "hls" - }, - "FMPadding_12": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_13": { - "preferred_impl_style": "rtl" - }, - "VVAU_12": { - "preferred_impl_style": "hls" - }, - "MVAU_13": { - "preferred_impl_style": "hls" - }, - "ConvolutionInputGenerator_14": { - "preferred_impl_style": "rtl" - }, - "Pool_0": { - "preferred_impl_style": "hls" - }, - "MVAU_14": { - "preferred_impl_style": "hls" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "hls" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } - } diff --git a/build/mobilenet-v1/specialize_layers_config/ZCU102_specialize_layers_config.json b/build/mobilenet-v1/specialize_layers_config/ZCU102_specialize_layers_config.json deleted file mode 100644 index 640b16a..0000000 --- a/build/mobilenet-v1/specialize_layers_config/ZCU102_specialize_layers_config.json +++ /dev/null @@ -1,261 +0,0 @@ -{ - "Defaults": {}, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "rtl" - }, - "Thresholding_0": { - "preferred_impl_style": "rtl" - }, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "VVAU_0": { - "preferred_impl_style": "hls" - }, - "Thresholding_1": { - "preferred_impl_style": "rtl" - }, - "MVAU_1": { - "preferred_impl_style": "rtl" - }, - "Thresholding_2": { - "preferred_impl_style": "rtl" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "VVAU_1": { - "preferred_impl_style": "hls" - }, - "Thresholding_3": { - "preferred_impl_style": "rtl" - }, - "MVAU_2": { - "preferred_impl_style": "rtl" - }, - "Thresholding_4": { - "preferred_impl_style": "rtl" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "VVAU_2": { - "preferred_impl_style": "hls" - }, - "Thresholding_5": { - "preferred_impl_style": "rtl" - }, - "MVAU_3": { - "preferred_impl_style": "rtl" - }, - "Thresholding_6": { - "preferred_impl_style": "rtl" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "VVAU_3": { - "preferred_impl_style": "hls" - }, - "Thresholding_7": { - "preferred_impl_style": "rtl" - }, - "MVAU_4": { - "preferred_impl_style": "rtl" - }, - "Thresholding_8": { - "preferred_impl_style": "rtl" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "VVAU_4": { - "preferred_impl_style": "hls" - }, - "Thresholding_9": { - "preferred_impl_style": "rtl" - }, - "MVAU_5": { - "preferred_impl_style": "rtl" - }, - "Thresholding_10": { - "preferred_impl_style": "rtl" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "VVAU_5": { - "preferred_impl_style": "hls" - }, - "Thresholding_11": { - "preferred_impl_style": "rtl" - }, - "MVAU_6": { - "preferred_impl_style": "rtl" - }, - "Thresholding_12": { - "preferred_impl_style": "rtl" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_7": { - "preferred_impl_style": "rtl" - }, - "VVAU_6": { - "preferred_impl_style": "hls" - }, - "Thresholding_13": { - "preferred_impl_style": "rtl" - }, - "MVAU_7": { - "preferred_impl_style": "rtl" - }, - "Thresholding_14": { - "preferred_impl_style": "rtl" - }, - "FMPadding_7": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_8": { - "preferred_impl_style": "rtl" - }, - "VVAU_7": { - "preferred_impl_style": "hls" - }, - "Thresholding_15": { - "preferred_impl_style": "rtl" - }, - "MVAU_8": { - "preferred_impl_style": "rtl" - }, - "Thresholding_16": { - "preferred_impl_style": "rtl" - }, - "FMPadding_8": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_9": { - "preferred_impl_style": "rtl" - }, - "VVAU_8": { - "preferred_impl_style": "hls" - }, - "Thresholding_17": { - "preferred_impl_style": "rtl" - }, - "MVAU_9": { - "preferred_impl_style": "rtl" - }, - "Thresholding_18": { - "preferred_impl_style": "rtl" - }, - "FMPadding_9": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_10": { - "preferred_impl_style": "rtl" - }, - "VVAU_9": { - "preferred_impl_style": "hls" - }, - "Thresholding_19": { - "preferred_impl_style": "rtl" - }, - "MVAU_10": { - "preferred_impl_style": "rtl" - }, - "Thresholding_20": { - "preferred_impl_style": "rtl" - }, - "FMPadding_10": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_11": { - "preferred_impl_style": "rtl" - }, - "VVAU_10": { - "preferred_impl_style": "hls" - }, - "Thresholding_21": { - "preferred_impl_style": "rtl" - }, - "MVAU_11": { - "preferred_impl_style": "rtl" - }, - "Thresholding_22": { - "preferred_impl_style": "rtl" - }, - "FMPadding_11": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_12": { - "preferred_impl_style": "rtl" - }, - "VVAU_11": { - "preferred_impl_style": "hls" - }, - "Thresholding_23": { - "preferred_impl_style": "rtl" - }, - "MVAU_12": { - "preferred_impl_style": "rtl" - }, - "Thresholding_24": { - "preferred_impl_style": "rtl" - }, - "FMPadding_12": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_13": { - "preferred_impl_style": "rtl" - }, - "VVAU_12": { - "preferred_impl_style": "hls" - }, - "Thresholding_25": { - "preferred_impl_style": "rtl" - }, - "MVAU_13": { - "preferred_impl_style": "rtl" - }, - "Thresholding_26": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_14": { - "preferred_impl_style": "rtl" - }, - "Pool_0": { - "preferred_impl_style": "hls" - }, - "MVAU_14": { - "preferred_impl_style": "rtl" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "hls" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } - } diff --git a/build/resnet50/build.py b/build/resnet50/build.py index 6688aed..6f0dfc8 100644 --- a/build/resnet50/build.py +++ b/build/resnet50/build.py @@ -101,7 +101,7 @@ def platform_to_shell(platform): platform_dir = "release/%s" % release_platform_name os.makedirs(platform_dir, exist_ok=True) - folding_config_file = "folding_config/U250_folding_config_no_doublepack_pe_folded_16.json" + folding_config_file = "folding_config/U250_folding_config.json" cfg = build_cfg.DataflowBuildConfig( steps=resnet50_build_steps, diff --git a/build/resnet50/folding_config/U250_folding_config_no_doublepack_pe_folded_16.json b/build/resnet50/folding_config/U250_folding_config.json similarity index 100% rename from build/resnet50/folding_config/U250_folding_config_no_doublepack_pe_folded_16.json rename to build/resnet50/folding_config/U250_folding_config.json diff --git a/build/vgg10-radioml/specialize_layers_config.json b/build/vgg10-radioml/specialize_layers_config.json deleted file mode 100644 index 04279b2..0000000 --- a/build/vgg10-radioml/specialize_layers_config.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "Defaults": {}, - "FMPadding_0": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_0": { - "preferred_impl_style": "rtl" - }, - "MVAU_0": { - "preferred_impl_style": "rtl" - }, - "Thresholding_0": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_0": { - "preferred_impl_style": "hls" - }, - "FMPadding_1": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_1": { - "preferred_impl_style": "rtl" - }, - "MVAU_1": { - "preferred_impl_style": "rtl" - }, - "Thresholding_1": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_1": { - "preferred_impl_style": "hls" - }, - "FMPadding_2": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_2": { - "preferred_impl_style": "rtl" - }, - "MVAU_2": { - "preferred_impl_style": "rtl" - }, - "Thresholding_2": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_2": { - "preferred_impl_style": "hls" - }, - "FMPadding_3": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_3": { - "preferred_impl_style": "rtl" - }, - "MVAU_3": { - "preferred_impl_style": "rtl" - }, - "Thresholding_3": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_3": { - "preferred_impl_style": "hls" - }, - "FMPadding_4": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_4": { - "preferred_impl_style": "rtl" - }, - "MVAU_4": { - "preferred_impl_style": "rtl" - }, - "Thresholding_4": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_4": { - "preferred_impl_style": "hls" - }, - "FMPadding_5": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_5": { - "preferred_impl_style": "rtl" - }, - "MVAU_5": { - "preferred_impl_style": "rtl" - }, - "Thresholding_5": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_5": { - "preferred_impl_style": "hls" - }, - "FMPadding_6": { - "preferred_impl_style": "rtl" - }, - "ConvolutionInputGenerator_6": { - "preferred_impl_style": "rtl" - }, - "MVAU_6": { - "preferred_impl_style": "rtl" - }, - "Thresholding_6": { - "preferred_impl_style": "rtl" - }, - "StreamingMaxPool_6": { - "preferred_impl_style": "hls" - }, - "MVAU_7": { - "preferred_impl_style": "rtl" - }, - "Thresholding_7": { - "preferred_impl_style": "rtl" - }, - "MVAU_8": { - "preferred_impl_style": "rtl" - }, - "Thresholding_8": { - "preferred_impl_style": "rtl" - }, - "MVAU_9": { - "preferred_impl_style": "rtl" - }, - "ChannelwiseOp_0": { - "preferred_impl_style": "rtl" - }, - "LabelSelect_0": { - "preferred_impl_style": "hls" - } -}