Replies: 1 comment 3 replies
-
Hi, did you try applying this transformation: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm having some problems implementing a very simple model. The problem what I think I'm facing is related on how PyTorch linear layers handle tensors with more than 2D. In this case, I'm extracting some features from my two channels inputs (originally complex input) using several 1D convolutions, but when I get into the final linear layer I need so reshape and flatten (batch and channel dimensions) manually the tensors (to replicate manually the Pytorch way of working). In this point is where I'm stucked, I'm not able to Absorb or reorder the transposes and/or the Flatten node, resulting in a AssertionError: cycle-free graph violated: partition depends on itself during the creation of the dataflow partition.
I provide here the original model:
Here, just before it goes into the step_create_dataflow_partition:
How can I solve this? How can I get my model compiled?
Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions