How to figure out the procedure of Axis reordering and Weight permutation for sequential memory access #78
Unanswered
Ruixin Huang (HRXWEB)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Axis reordering
I understand the meaning and motivation of axis rearrangement, but I want to know the procedure of this method.
According to the paper, loop among the spatial axes 𝑁 and 𝑀 first and then temporal axis 𝐾 is natural. The pseudo code I write is:
It is weird for me. Naturally, the procedure should be?
So it will loop among the temporal axis K first. Why paper claims
And how to figure out
Because the LUT was built among the axis K, as for the k in K, the weight will share the same LUT table entries. The size of lookup table for the specific
n in N,m in Mshould be [ K//g, 2^g]? why [1, K] in paper?Weight permutation for sequential memory access
I can't find the corresponding code for this design. Can someone explain the process in detail using words and code? And the final effect.
This may involve a lot of hardware knowledge. I would be very grateful for anyone can explain it in detail.
Thanks advance.
All reactions