Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
一WILLPOWER一
Paddle
提交
76129f03
P
Paddle
项目概览
一WILLPOWER一
/
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
76129f03
编写于
6月 13, 2018
作者:
Q
qiaolongfei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update comment
上级
fd9b650d
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
9 addition
and
10 deletion
+9
-10
python/paddle/fluid/layers/control_flow.py
python/paddle/fluid/layers/control_flow.py
+3
-4
python/paddle/fluid/layers/nn.py
python/paddle/fluid/layers/nn.py
+3
-2
python/paddle/fluid/layers/tensor.py
python/paddle/fluid/layers/tensor.py
+3
-4
未找到文件。
python/paddle/fluid/layers/control_flow.py
浏览文件 @
76129f03
...
...
@@ -893,12 +893,11 @@ def create_array(dtype):
"""
**Create LoDTensor Array**
This function creates an array of type :math:`LOD_TENSOR_ARRAY` using the
LayerHelper. It is mainly used to implement RNN with array_write, array_read
and While.
This function creates an array of LOD_TENSOR_ARRAY . It is mainly used to
implement RNN with array_write, array_read and While.
Args:
dtype (int|float): The data type of the elements in the array.
dtype (int|float): The data type of the elements in the
lod_tensor_
array.
Returns:
Variable: The lod_tensor_array variable storing the elements of data type.
...
...
python/paddle/fluid/layers/nn.py
浏览文件 @
76129f03
...
...
@@ -1618,8 +1618,9 @@ def batch_norm(input,
1. NHWC `[batch, in_height, in_width, in_channels]`
2. NCHW `[batch, in_channels, in_height, in_width]`
Refer to `Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
<https://arxiv.org/pdf/1502.03167.pdf>`_ for more details.
Refer to `Batch Normalization: Accelerating Deep Network Training by Reducing
Internal Covariate Shift <https://arxiv.org/pdf/1502.03167.pdf>`_
for more details.
:math:`input` is the input features over a mini-batch.
...
...
python/paddle/fluid/layers/tensor.py
浏览文件 @
76129f03
...
...
@@ -40,15 +40,14 @@ __all__ = [
def
create_tensor
(
dtype
,
name
=
None
,
persistable
=
False
):
"""
**Create a Tensor
with certain data type and name
**
**Create a Tensor**
Args:
dtype (string): 'float32'|'int32'|..., the data type of the
created tensor.
name (string
|
None): The name of the created tensor, if not set,
name (string
, Default:
None): The name of the created tensor, if not set,
the name will be a random unique one.
persistable (bool): Set the persistable flag of the create tensor,
default value is False.
persistable (bool, Default: False): Set the persistable flag of the create tensor.
Returns:
Variable: The tensor variable storing the created tensor.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录