提交 b2e7b265 编写于 作者: Y Yang Zhang

Remove alias for `l2_normalize`

functionality provided by `normalize`
上级 6b727e08
...@@ -164,7 +164,6 @@ from .loss import teacher_student_sigmoid_loss #DEFINE_ALIAS ...@@ -164,7 +164,6 @@ from .loss import teacher_student_sigmoid_loss #DEFINE_ALIAS
from .loss import ctc_loss #DEFINE_ALIAS from .loss import ctc_loss #DEFINE_ALIAS
# from .norm import data_norm #DEFINE_ALIAS # from .norm import data_norm #DEFINE_ALIAS
# from .norm import group_norm #DEFINE_ALIAS # from .norm import group_norm #DEFINE_ALIAS
from .norm import l2_normalize #DEFINE_ALIAS
from .norm import batch_norm #DEFINE_ALIAS from .norm import batch_norm #DEFINE_ALIAS
from .norm import instance_norm #DEFINE_ALIAS from .norm import instance_norm #DEFINE_ALIAS
from .norm import layer_norm #DEFINE_ALIAS from .norm import layer_norm #DEFINE_ALIAS
......
...@@ -19,7 +19,6 @@ from ...fluid.data_feeder import check_variable_and_dtype, check_type ...@@ -19,7 +19,6 @@ from ...fluid.data_feeder import check_variable_and_dtype, check_type
from ...fluid.layer_helper import LayerHelper from ...fluid.layer_helper import LayerHelper
from ...fluid.framework import in_dygraph_mode, core from ...fluid.framework import in_dygraph_mode, core
from ...framework import create_parameter from ...framework import create_parameter
from ...fluid.layers import l2_normalize #DEFINE_ALIAS
from ...fluid.layers import lrn #DEFINE_ALIAS from ...fluid.layers import lrn #DEFINE_ALIAS
from ...fluid.initializer import Constant from ...fluid.initializer import Constant
from ...fluid.param_attr import ParamAttr from ...fluid.param_attr import ParamAttr
...@@ -29,7 +28,6 @@ __all__ = [ ...@@ -29,7 +28,6 @@ __all__ = [
'batch_norm', 'batch_norm',
# 'data_norm', # 'data_norm',
'instance_norm', 'instance_norm',
'l2_normalize',
'layer_norm', 'layer_norm',
'lrn', 'lrn',
'normalize', 'normalize',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册