nnom
nnom copied to clipboard
about calculate the MAC for GRU
Hi
I am confused about this code for GRU MAC calculation
What I know about LSTM MAC calculation is realized as following picture:
Can you give more information? I will appreciate it very much. Looking forward to your reply.
GRU is different from LSTM. You can check the lstm layer compared to the screenshot.
For the mac here, I wrote it per the calculation perfored in the ops implemented, not following it's mathematical ops. Which might be different since the fixedpoint implementation are different from floatingpoint
Thanks for your reply. I want to ask about calculating "cell->units * cell->units *8" and "cell->units * (3 + 3 + 5)" and in your comment I don't understand what "gate" "mult" "addition" means ? I know that MAC contains multiply-add
How to get 8? How to get (3+3+5)?
Can you give more information? I will appreciate it very much. Looking forward to your reply.