print consistent tensor data (#5902)
* print consistent tensor data * refine * refine * refine * refine * fix bug: consistent tensor's cur_rank_phy_tensor device is gpu * refine * change comment * refine * return ... when sbp == flow.sbp.split(x), x!=0 * fix bug * refine * Update python/oneflow/framework/tensor_str.py Co-authored-by: NYinggang Wang <wyg19970408@gmail.com> * refine * revert device tag to device type change * add op test * auto format by CI * format Co-authored-by: NYinggang Wang <wyg19970408@gmail.com> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com> Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org>
Showing
想要评论请 注册 或 登录