Skip to content

Commit

Permalink
[Fix] import atleast
Browse files Browse the repository at this point in the history
  • Loading branch information
megemini committed Oct 23, 2023
1 parent b64f027 commit 2395977
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions python/paddle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,9 @@
'logspace',
'reshape',
'reshape_',
'atleast_1d',
'atleast_2d',
'atleast_3d',
'reverse',
'nonzero',
'CUDAPinnedPlace',
Expand Down
6 changes: 3 additions & 3 deletions python/paddle/tensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
from .logic import isclose # noqa: F401
from .logic import equal_all # noqa: F401
from .logic import is_tensor # noqa: F401
from .manupulation import atleast_1d # noqa: F401
from .manupulation import atleast_2d # noqa: F401
from .manupulation import atleast_3d # noqa: F401
from .manipulation import atleast_1d # noqa: F401
from .manipulation import atleast_2d # noqa: F401
from .manipulation import atleast_3d # noqa: F401
from .manipulation import cast # noqa: F401
from .manipulation import cast_ # noqa: F401
from .manipulation import concat # noqa: F401
Expand Down

0 comments on commit 2395977

Please sign in to comment.