Giter Site home page Giter Site logo

Conv1D support about finn-hlslib HOT 2 OPEN

xilinx avatar xilinx commented on August 19, 2024
Conv1D support

from finn-hlslib.

Comments (2)

fpjentzsch avatar fpjentzsch commented on August 19, 2024

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.

aspaul20 avatar aspaul20 commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.