Use BroadcastKernel and ReduceKernel to optimize expand and expand_grad. (#49419)
* Use BroadcastKernel and ReduceKernel to optimize expand and expand_grad. * Correct the axis when there is only 1 input in BroadcastKernel. * Add the calculate of output's shape.
Showing
想要评论请 注册 或 登录