Question about ReduceConverter #115
Answered
by
nhat-nguyen
Jingchang Shi (jingchangshi)
asked this question in
Q&A
|
In ReduceConverter, the reduction along the innermost axis is replaced by transpose followed by the reduction along the outer axis, as shown in the following codes Is it for optimization on SIMD based devices? Do you think the reduction along the inner axis is slower than the reduction along the outer axis with a transpose op? Or there are other reasons? |
Answered by
nhat-nguyen
Apr 18, 2024
Replies: 2 comments
|
Jingchang Shi (@jingchangshi) Hey thank you for your question, and sorry for the late reply. I don't get notifications from the discussion so I missed this. Will get back to you with some thoughts as soon as possible. |
0 replies
|
Haishan Zhu (@haishanzzzz) would be the best person to ask this, here's a snippet from our old internal code -- hopefully it gives some more context: |
0 replies
Answer selected by
jingchangshi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Haishan Zhu (@haishanzzzz) would be the best person to ask this, here's a snippet from our old internal code -- hopefully it gives some more context: