Replies: 1 comment
-
Most likely yes. Better try and check. If thop properly counts things for simple layers, it would work correctly with einops too. Einops completely relies on torch operations for tensor manipulations. Important remark: most einops operations, like rearrange do no contribute to flops count and have no parameters. |
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! I was wondering if this package would work with the thop (https://github.com/Lyken17/pytorch-OpCounter) package, which counts the flops in one's model.
Beta Was this translation helpful? Give feedback.
All reactions