未验证 提交 0873644c 编写于 作者: Y Yang Zhang 提交者: GitHub

Remove alias for `l2_normalize` (#27616)

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