提交 6d5f438b 编写于 作者: W wanghaoshuang

rename mobilenetv2_space to mobilenetv2

上级 2be7d257
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from .mobilenetv2_space import MobileNetV2Space import mobilenetv2
from .mobilenetv2 import *
import search_space_registry import search_space_registry
from search_space_registry import * from search_space_registry import *
import search_space_factory import search_space_factory
...@@ -20,7 +21,8 @@ from search_space_factory import * ...@@ -20,7 +21,8 @@ from search_space_factory import *
import search_space_base import search_space_base
from search_space_base import * from search_space_base import *
__all__ = ["MobileNetV2Space"] __all__ = []
__all__ += mobilenetv2.__all__
__all__ += search_space_registry.__all__ __all__ += search_space_registry.__all__
__all__ += search_space_factory.__all__ __all__ += search_space_factory.__all__
__all__ += search_space_base.__all__ __all__ += search_space_base.__all__
...@@ -23,6 +23,8 @@ from .search_space_base import SearchSpaceBase ...@@ -23,6 +23,8 @@ from .search_space_base import SearchSpaceBase
from .base_layer import conv_bn_layer from .base_layer import conv_bn_layer
from .search_space_registry import SEARCHSPACE from .search_space_registry import SEARCHSPACE
__all__ = ["MobileNetV2Space"]
@SEARCHSPACE.register @SEARCHSPACE.register
class MobileNetV2Space(SearchSpaceBase): class MobileNetV2Space(SearchSpaceBase):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册