Comments (2)
Hi, Conv1D is supported by combining a 1D variant of the ConvolutionInputGenerator (slidingwindow.h) and a normal MVAU (Matrix_Vector_Activate_Batch
).
If you plan on using the FINN compiler: You can refer to this FINN-example to see the build-flow for a 1D CNN:
https://github.com/Xilinx/finn-examples/tree/main/build/vgg10-radioml
Most importantly, you will need to apply the Change3DTo4DTensors()
transformation (https://github.com/Xilinx/finn-examples/blob/main/build/vgg10-radioml/custom_steps.py#L37) early on, since FINN works with 4D (NHWC) tensors internally, even for feature maps with only 1 spatial dimension.
from finn-hlslib.
Thanks for replying. I am not planning to use the compiler, I will use the library to implement the model.
Is this the variant you're referring to?
Also, other than the ConvolutionInputGenerator, what else would have to be changed in the standard convlayer?
from finn-hlslib.
Related Issues (18)
- New MVA Stream Unit with int2 inputs HOT 1
- Using ap_fixed for convolution HOT 1
- Does torch. tok support conversion?
- UpsampleNearestNeighbour bug when Padding=scale_factor
- fatal error: memdata.h HOT 2
- LabelSelect_Batch stream output type HOT 1
- W1 type HOT 2
- Test results for WIDTH*SIMD greater than 64 are not accurate HOT 1
- vivado_hls version for testbench HOT 9
- No matching function call HOT 2
- Subtract Streams Support HOT 7
- add hardware IP HOT 1
- ERROR: [SIM 211-100] Csim failed with error HOT 1
- Testbench_conv Synthesis error HOT 1
- RTL simulation not finishing HOT 1
- Sliding Window testbench not working with stride = 1 HOT 2
- Add optional per-channel negation prior to thresholding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finn-hlslib.