提交 a7197bfb 编写于 作者: F frankwhzhang

fix norm api doc, test=develop

上级 bf99bc4a
...@@ -142,7 +142,6 @@ from .layer.norm import SyncBatchNorm #DEFINE_ALIAS ...@@ -142,7 +142,6 @@ from .layer.norm import SyncBatchNorm #DEFINE_ALIAS
from .layer.norm import GroupNorm #DEFINE_ALIAS from .layer.norm import GroupNorm #DEFINE_ALIAS
from .layer.norm import LayerNorm #DEFINE_ALIAS from .layer.norm import LayerNorm #DEFINE_ALIAS
from .layer.norm import SpectralNorm #DEFINE_ALIAS from .layer.norm import SpectralNorm #DEFINE_ALIAS
from .layer.norm import InstanceNorm #DEFINE_ALIAS
from .layer.norm import InstanceNorm1d #DEFINE_ALIAS from .layer.norm import InstanceNorm1d #DEFINE_ALIAS
from .layer.norm import InstanceNorm2d #DEFINE_ALIAS from .layer.norm import InstanceNorm2d #DEFINE_ALIAS
from .layer.norm import InstanceNorm3d #DEFINE_ALIAS from .layer.norm import InstanceNorm3d #DEFINE_ALIAS
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# TODO: define normalization api # TODO: define normalization api
import six import six
from ...fluid.dygraph.nn import InstanceNorm #from ...fluid.dygraph.nn import InstanceNorm
from ...fluid.dygraph import BatchNorm #DEFINE_ALIAS from ...fluid.dygraph import BatchNorm #DEFINE_ALIAS
#from ...fluid.dygraph import GroupNorm #DEFINE_ALIAS #from ...fluid.dygraph import GroupNorm #DEFINE_ALIAS
...@@ -53,9 +53,9 @@ import warnings ...@@ -53,9 +53,9 @@ import warnings
from ...fluid.dygraph.base import no_grad from ...fluid.dygraph.base import no_grad
__all__ = [ __all__ = [
'BatchNorm', 'GroupNorm', 'LayerNorm', 'SpectralNorm', 'InstanceNorm', 'BatchNorm', 'GroupNorm', 'LayerNorm', 'SpectralNorm', 'BatchNorm1d',
'BatchNorm1d', 'BatchNorm2d', 'BatchNorm3d', 'InstanceNorm1d', 'BatchNorm2d', 'BatchNorm3d', 'InstanceNorm1d', 'InstanceNorm2d',
'InstanceNorm2d', 'InstanceNorm3d', 'SyncBatchNorm' 'InstanceNorm3d', 'SyncBatchNorm'
] ]
......
...@@ -26,7 +26,6 @@ __all__ = [ ...@@ -26,7 +26,6 @@ __all__ = [
'crf_decoding', 'crf_decoding',
'data_norm', 'data_norm',
'deformable_conv', 'deformable_conv',
'group_norm',
'hsigmoid', 'hsigmoid',
'instance_norm', 'instance_norm',
'layer_norm', 'layer_norm',
...@@ -50,7 +49,7 @@ from ...fluid.layers import create_parameter #DEFINE_ALIAS ...@@ -50,7 +49,7 @@ from ...fluid.layers import create_parameter #DEFINE_ALIAS
from ...fluid.layers import crf_decoding #DEFINE_ALIAS from ...fluid.layers import crf_decoding #DEFINE_ALIAS
from ...fluid.layers import data_norm #DEFINE_ALIAS from ...fluid.layers import data_norm #DEFINE_ALIAS
from ...fluid.layers import deformable_conv #DEFINE_ALIAS from ...fluid.layers import deformable_conv #DEFINE_ALIAS
from ...fluid.layers import group_norm #DEFINE_ALIAS #from ...fluid.layers import group_norm #DEFINE_ALIAS
from ...fluid.layers import hsigmoid #DEFINE_ALIAS from ...fluid.layers import hsigmoid #DEFINE_ALIAS
from ...fluid.layers import instance_norm #DEFINE_ALIAS from ...fluid.layers import instance_norm #DEFINE_ALIAS
from ...fluid.layers import layer_norm #DEFINE_ALIAS from ...fluid.layers import layer_norm #DEFINE_ALIAS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册