-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from Xilinx/feature/update_finn
Update all build flow to have specified specialize layers config json
- Loading branch information
Showing
34 changed files
with
10,857 additions
and
2,121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ build/finn | |
*.link_summary | ||
*.onnx | ||
*.pyc | ||
*.npz | ||
*.npy | ||
output_*/ | ||
release/ | ||
*.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
build/bnn-pynq/specialize_layers_config/cnv-w1a1_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"ConvolutionInputGenerator_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_1": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_2": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_3": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_4": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_4": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_5": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_5": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_6": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_7": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_8": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
build/bnn-pynq/specialize_layers_config/cnv-w1a2_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"ConvolutionInputGenerator_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_1": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_2": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_3": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_4": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_4": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_5": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_5": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_6": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_7": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_8": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
build/bnn-pynq/specialize_layers_config/cnv-w2a2_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"ConvolutionInputGenerator_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_1": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_2": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_3": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"StreamingMaxPool_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_4": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_4": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"ConvolutionInputGenerator_5": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_5": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_6": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_7": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_8": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
build/bnn-pynq/specialize_layers_config/tfc-w1a1_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
build/bnn-pynq/specialize_layers_config/tfc-w1a2_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
build/bnn-pynq/specialize_layers_config/tfc-w2a2_specialize_layers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_0": { | ||
"preferred_impl_style": "rtl" | ||
}, | ||
"MVAU_0": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_1": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_2": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"MVAU_3": { | ||
"preferred_impl_style": "hls" | ||
}, | ||
"LabelSelect_0": { | ||
"preferred_impl_style": "hls" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
wget https://github.com/fastmachinelearning/qonnx_model_zoo/raw/feature/gtsrb_cnv/models/GTSRB/Brevitas_CNV1W1A/cnv_1w1a_gtsrb.onnx | ||
wget https://github.com/fastmachinelearning/qonnx_model_zoo/raw/main/models/GTSRB/Brevitas_CNV1W1A/cnv_1w1a_gtsrb.onnx |
Oops, something went wrong.