Skip to content

Dealing with ConvTranspose Layers while streamlining and converting to hw? #1239

Answered by hleblevec
Mounice97 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Mounice97 and thanks @fpjentzsch for tagging me.
For the moment there is a support of transposed convolutions implemented as a fractionnaly-strided convolution. The streamlining and convertion to hw layers can be done through the InferPixelPaddingDeconv transformation. You can find here an example of using this transformation in a custom conversion to hw layers step: https://github.com/Xilinx/finn-examples/blob/7a672f89553882854fedb0c864272ff8f0f9975d/build/espcn/custom_steps.py#L134

It works, but it's not very hardware efficient. A more efficient implementation is currently being developped, but you can use the current implementation in the meantime. Please don't hesitate to ask for …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by auphelia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants