enhance isinf/isnan in tensor util, avoid copy back to cpu (#12688)
* "avoid copy back to cpu" * "add infinity support" * "fix ci" * "add cpu macro" * rerun ci; test=develop * "fix api" test=develop * test=develop * test=develop * test=develop * test=develop * test=develop
Showing
想要评论请 注册 或 登录