[Cherry-Pick] take along axis bug fix (#41863)
This PR is the cherry-pick of #41824 This PR fixes a bug that will cause the Cuda address error. The reason for this bug is that the grid number of the Cuda Kernel had been wrongly set.
Showing
想要评论请 注册 或 登录