AssertionError: cycle-free graph violated: partition depends on itself - Depthwise convolution #1285
Answered
by
fpjentzsch
jurevreca12
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
fpjentzsch
Feb 26, 2025
Replies: 1 comment 1 reply
-
Hi, good question, this is one of the many features where we could use a lot more documentation. Due to the different data/folding layout for depthwise convolutions, these have to be implemented using a VectorVectorActivationUnit (VVAU) instead of the MVAU. You can see here in the MobileNetV1 finn-example how this is inferred: https://github.com/Xilinx/finn-examples/blob/810a1e7759163ac313cb7739743da4184fb9135d/build/mobilenet-v1/custom_steps.py#L93 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jurevreca12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
good question, this is one of the many features where we could use a lot more documentation.
Due to the different data/folding layout for depthwise convolutions, these have to be implemented using a VectorVectorActivationUnit (VVAU) instead of the MVAU. You can see here in the MobileNetV1 finn-example how this is inferred: https://github.com/Xilinx/finn-examples/blob/810a1e7759163ac313cb7739743da4184fb9135d/build/mobilenet-v1/custom_steps.py#L93