Support assign copy interface (#6228)
* feat(Tensor): support assign copy interface * feat(Module): use assign copy * test(Tensor): add test for tensor assign_copy * fix(Optim): create buffer data in step() * rename assign_copy to set_data * fix(Parameter): fix Parameter set_data bug * refine log to log_once in data() * test(ConsistentTensor): add set_data test * fix(Module): fix Module.to_consistent bug * auto format by CI 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
想要评论请 注册 或 登录