Skip to content

Commit

Permalink
change utils to image
Browse files Browse the repository at this point in the history
  • Loading branch information
LielinJiang committed Oct 19, 2020
1 parent 4229e88 commit 2eb23f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/paddle/vision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
from . import datasets
from .datasets import *

from . import utils
from .utils import *
from . import image
from .image import *

__all__ = models.__all__ \
+ transforms.__all__ \
+ datasets.__all__ \
+ utils.__all__
+ image.__all__
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def image_load(path, backend=None):
.. code-block:: python
import numpy as np
from PIL import Image
from paddle.vision import image_load, set_image_backend
Expand Down

1 comment on commit 2eb23f0

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.