Skip to content

Commit

Permalink
utils => _utils
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRyanHuang committed Dec 2, 2022
1 parent fe1850c commit 2670de7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Expand Up @@ -15,7 +15,7 @@
import paddle
import unittest
import random
from paddle.vision.models.utils import IntermediateLayerGetter
from paddle.vision.models._utils import IntermediateLayerGetter


class TestBase:
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/vision/models/__init__.py
Expand Up @@ -63,7 +63,7 @@
from .shufflenetv2 import shufflenet_v2_x1_5 # noqa: F401
from .shufflenetv2 import shufflenet_v2_x2_0 # noqa: F401
from .shufflenetv2 import shufflenet_v2_swish # noqa: F401
from .utils import IntermediateLayerGetter
from ._utils import IntermediateLayerGetter

__all__ = [ # noqa
'ResNet',
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion python/paddle/vision/models/mobilenetv2.py
Expand Up @@ -16,7 +16,7 @@
import paddle.nn as nn
from paddle.utils.download import get_weights_path_from_url

from .utils import _make_divisible
from ._utils import _make_divisible
from ..ops import ConvNormActivation

__all__ = []
Expand Down
2 changes: 1 addition & 1 deletion python/paddle/vision/models/mobilenetv3.py
Expand Up @@ -17,7 +17,7 @@
from paddle.utils.download import get_weights_path_from_url
from functools import partial

from .utils import _make_divisible
from ._utils import _make_divisible
from ..ops import ConvNormActivation

__all__ = []
Expand Down

0 comments on commit 2670de7

Please sign in to comment.