Adding custom layers #1277
Unanswered
ML-DL-AI-SS
asked this question in
Q&A
Replies: 1 comment
-
Hi, we have this notebook, which demonstrates how to add a new CustomOp to FINN: https://github.com/Xilinx/finn/blob/dev/notebooks/advanced/2_custom_op.ipynb Here you can see how the FINN HLS MVAU CustomOp calls the underlying function from FINN-hlslib: You could modify that function in hlslib or make it call your own custom HLS function instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm new to the FINN and I would like to add custom neurons to the pipeline. Could you please advise which parts of the framework I need to modify to implement these neurons in a hardware-friendly way?
Additionally, I want to customize the convolutional and fully connected layers (specifically the MVTUs part). I was able to locate these layers in FINN-HLSLIB, but I'm unsure which files to modify in the FINN framework itself. Any guidance would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions