Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
a7197bfb
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a7197bfb
编写于
9月 28, 2020
作者:
F
frankwhzhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix norm api doc, test=develop
上级
bf99bc4a
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
5 addition
and
7 deletion
+5
-7
python/paddle/nn/__init__.py
python/paddle/nn/__init__.py
+0
-1
python/paddle/nn/layer/norm.py
python/paddle/nn/layer/norm.py
+4
-4
python/paddle/static/nn/__init__.py
python/paddle/static/nn/__init__.py
+1
-2
未找到文件。
python/paddle/nn/__init__.py
浏览文件 @
a7197bfb
...
@@ -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
...
...
python/paddle/nn/layer/norm.py
浏览文件 @
a7197bfb
...
@@ -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
'
,
'BatchNorm
1d'
,
'BatchNorm2d'
,
'BatchNorm3d'
,
'InstanceNorm1
d'
,
'BatchNorm
2d'
,
'BatchNorm3d'
,
'InstanceNorm1d'
,
'InstanceNorm2
d'
,
'InstanceNorm
2d'
,
'InstanceNorm
3d'
,
'SyncBatchNorm'
'InstanceNorm3d'
,
'SyncBatchNorm'
]
]
...
...
python/paddle/static/nn/__init__.py
浏览文件 @
a7197bfb
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录