未验证 提交 cb5bf583 编写于 作者: L levi131 提交者: GitHub

fix import bug for assign (#36406)

上级 fb68ea62
...@@ -16,7 +16,7 @@ import contextlib ...@@ -16,7 +16,7 @@ import contextlib
import paddle import paddle
from ..fluid import framework from ..fluid import framework
from ..fluid.dygraph import grad from ..fluid.dygraph import grad
from ..nn.initializer import assign from ..tensor.creation import assign
from ..tensor import reshape, zeros_like, to_tensor from ..tensor import reshape, zeros_like, to_tensor
from .utils import _tensors, _stack_tensor_or_return_none, _replace_none_with_zero_tensor from .utils import _tensors, _stack_tensor_or_return_none, _replace_none_with_zero_tensor
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册