Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
b86d7f21
P
Paddle
项目概览
Crayon鑫
/
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看板
提交
b86d7f21
编写于
2月 25, 2018
作者:
T
Travis CI
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Deploy to GitHub Pages:
95ea54fd
上级
7ffe51a4
变更
22
展开全部
隐藏空白更改
内联
并排
Showing
22 changed file
with
332 addition
and
332 deletion
+332
-332
develop/api_doc/_sources/v2/fluid/data_feeder.rst.txt
develop/api_doc/_sources/v2/fluid/data_feeder.rst.txt
+1
-1
develop/api_doc/_sources/v2/fluid/evaluator.rst.txt
develop/api_doc/_sources/v2/fluid/evaluator.rst.txt
+2
-2
develop/api_doc/_sources/v2/fluid/executor.rst.txt
develop/api_doc/_sources/v2/fluid/executor.rst.txt
+4
-4
develop/api_doc/_sources/v2/fluid/initializer.rst.txt
develop/api_doc/_sources/v2/fluid/initializer.rst.txt
+4
-4
develop/api_doc/_sources/v2/fluid/io.rst.txt
develop/api_doc/_sources/v2/fluid/io.rst.txt
+9
-9
develop/api_doc/_sources/v2/fluid/layers.rst.txt
develop/api_doc/_sources/v2/fluid/layers.rst.txt
+128
-128
develop/api_doc/_sources/v2/fluid/nets.rst.txt
develop/api_doc/_sources/v2/fluid/nets.rst.txt
+4
-4
develop/api_doc/_sources/v2/fluid/optimizer.rst.txt
develop/api_doc/_sources/v2/fluid/optimizer.rst.txt
+6
-6
develop/api_doc/_sources/v2/fluid/param_attr.rst.txt
develop/api_doc/_sources/v2/fluid/param_attr.rst.txt
+2
-2
develop/api_doc/_sources/v2/fluid/profiler.rst.txt
develop/api_doc/_sources/v2/fluid/profiler.rst.txt
+3
-3
develop/api_doc/_sources/v2/fluid/regularizer.rst.txt
develop/api_doc/_sources/v2/fluid/regularizer.rst.txt
+3
-3
develop/api_doc/v2/fluid/data_feeder.html
develop/api_doc/v2/fluid/data_feeder.html
+1
-1
develop/api_doc/v2/fluid/evaluator.html
develop/api_doc/v2/fluid/evaluator.html
+2
-2
develop/api_doc/v2/fluid/executor.html
develop/api_doc/v2/fluid/executor.html
+4
-4
develop/api_doc/v2/fluid/initializer.html
develop/api_doc/v2/fluid/initializer.html
+4
-4
develop/api_doc/v2/fluid/io.html
develop/api_doc/v2/fluid/io.html
+9
-9
develop/api_doc/v2/fluid/layers.html
develop/api_doc/v2/fluid/layers.html
+128
-128
develop/api_doc/v2/fluid/nets.html
develop/api_doc/v2/fluid/nets.html
+4
-4
develop/api_doc/v2/fluid/optimizer.html
develop/api_doc/v2/fluid/optimizer.html
+6
-6
develop/api_doc/v2/fluid/param_attr.html
develop/api_doc/v2/fluid/param_attr.html
+2
-2
develop/api_doc/v2/fluid/profiler.html
develop/api_doc/v2/fluid/profiler.html
+3
-3
develop/api_doc/v2/fluid/regularizer.html
develop/api_doc/v2/fluid/regularizer.html
+3
-3
未找到文件。
develop/api_doc/_sources/v2/fluid/data_feeder.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,7 +8,7 @@ data_feeder
DataFeeder
----------
.. autoclass:: paddle.
v2.
fluid.data_feeder.DataFeeder
.. autoclass:: paddle.fluid.data_feeder.DataFeeder
:members:
:noindex:
develop/api_doc/_sources/v2/fluid/evaluator.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,14 +8,14 @@ evaluator
Accuracy
--------
.. autoclass:: paddle.
v2.
fluid.evaluator.Accuracy
.. autoclass:: paddle.fluid.evaluator.Accuracy
:members:
:noindex:
ChunkEvaluator
--------------
.. autoclass:: paddle.
v2.
fluid.evaluator.ChunkEvaluator
.. autoclass:: paddle.fluid.evaluator.ChunkEvaluator
:members:
:noindex:
develop/api_doc/_sources/v2/fluid/executor.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,25 +8,25 @@ executor
Executor
--------
.. autoclass:: paddle.
v2.
fluid.executor.Executor
.. autoclass:: paddle.fluid.executor.Executor
:members:
:noindex:
global_scope
------------
.. autofunction:: paddle.
v2.
fluid.executor.global_scope
.. autofunction:: paddle.fluid.executor.global_scope
:noindex:
scope_guard
-----------
.. autofunction:: paddle.
v2.
fluid.executor.scope_guard
.. autofunction:: paddle.fluid.executor.scope_guard
:noindex:
switch_scope
------------
.. autofunction:: paddle.
v2.
fluid.executor.switch_scope
.. autofunction:: paddle.fluid.executor.switch_scope
:noindex:
develop/api_doc/_sources/v2/fluid/initializer.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,28 +8,28 @@ initializer
Constant
--------
.. autoclass:: paddle.
v2.
fluid.initializer.Constant
.. autoclass:: paddle.fluid.initializer.Constant
:members:
:noindex:
Uniform
-------
.. autoclass:: paddle.
v2.
fluid.initializer.Uniform
.. autoclass:: paddle.fluid.initializer.Uniform
:members:
:noindex:
Normal
------
.. autoclass:: paddle.
v2.
fluid.initializer.Normal
.. autoclass:: paddle.fluid.initializer.Normal
:members:
:noindex:
Xavier
------
.. autoclass:: paddle.
v2.
fluid.initializer.Xavier
.. autoclass:: paddle.fluid.initializer.Xavier
:members:
:noindex:
develop/api_doc/_sources/v2/fluid/io.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,54 +8,54 @@ io
save_vars
---------
.. autofunction:: paddle.
v2.
fluid.io.save_vars
.. autofunction:: paddle.fluid.io.save_vars
:noindex:
save_params
-----------
.. autofunction:: paddle.
v2.
fluid.io.save_params
.. autofunction:: paddle.fluid.io.save_params
:noindex:
save_persistables
-----------------
.. autofunction:: paddle.
v2.
fluid.io.save_persistables
.. autofunction:: paddle.fluid.io.save_persistables
:noindex:
load_vars
---------
.. autofunction:: paddle.
v2.
fluid.io.load_vars
.. autofunction:: paddle.fluid.io.load_vars
:noindex:
load_params
-----------
.. autofunction:: paddle.
v2.
fluid.io.load_params
.. autofunction:: paddle.fluid.io.load_params
:noindex:
load_persistables
-----------------
.. autofunction:: paddle.
v2.
fluid.io.load_persistables
.. autofunction:: paddle.fluid.io.load_persistables
:noindex:
save_inference_model
--------------------
.. autofunction:: paddle.
v2.
fluid.io.save_inference_model
.. autofunction:: paddle.fluid.io.save_inference_model
:noindex:
load_inference_model
--------------------
.. autofunction:: paddle.
v2.
fluid.io.load_inference_model
.. autofunction:: paddle.fluid.io.load_inference_model
:noindex:
get_inference_program
---------------------
.. autofunction:: paddle.
v2.
fluid.io.get_inference_program
.. autofunction:: paddle.fluid.io.get_inference_program
:noindex:
develop/api_doc/_sources/v2/fluid/layers.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -11,167 +11,167 @@ control_flow
split_lod_tensor
----------------
.. autofunction:: paddle.
v2.
fluid.layers.split_lod_tensor
.. autofunction:: paddle.fluid.layers.split_lod_tensor
:noindex:
merge_lod_tensor
----------------
.. autofunction:: paddle.
v2.
fluid.layers.merge_lod_tensor
.. autofunction:: paddle.fluid.layers.merge_lod_tensor
:noindex:
BlockGuard
----------
.. autoclass:: paddle.
v2.
fluid.layers.BlockGuard
.. autoclass:: paddle.fluid.layers.BlockGuard
:members:
:noindex:
BlockGuardWithCompletion
------------------------
.. autoclass:: paddle.
v2.
fluid.layers.BlockGuardWithCompletion
.. autoclass:: paddle.fluid.layers.BlockGuardWithCompletion
:members:
:noindex:
StaticRNNMemoryLink
-------------------
.. autoclass:: paddle.
v2.
fluid.layers.StaticRNNMemoryLink
.. autoclass:: paddle.fluid.layers.StaticRNNMemoryLink
:members:
:noindex:
WhileGuard
----------
.. autoclass:: paddle.
v2.
fluid.layers.WhileGuard
.. autoclass:: paddle.fluid.layers.WhileGuard
:members:
:noindex:
While
-----
.. autoclass:: paddle.
v2.
fluid.layers.While
.. autoclass:: paddle.fluid.layers.While
:members:
:noindex:
lod_rank_table
--------------
.. autofunction:: paddle.
v2.
fluid.layers.lod_rank_table
.. autofunction:: paddle.fluid.layers.lod_rank_table
:noindex:
max_sequence_len
----------------
.. autofunction:: paddle.
v2.
fluid.layers.max_sequence_len
.. autofunction:: paddle.fluid.layers.max_sequence_len
:noindex:
topk
----
.. autofunction:: paddle.
v2.
fluid.layers.topk
.. autofunction:: paddle.fluid.layers.topk
:noindex:
lod_tensor_to_array
-------------------
.. autofunction:: paddle.
v2.
fluid.layers.lod_tensor_to_array
.. autofunction:: paddle.fluid.layers.lod_tensor_to_array
:noindex:
array_to_lod_tensor
-------------------
.. autofunction:: paddle.
v2.
fluid.layers.array_to_lod_tensor
.. autofunction:: paddle.fluid.layers.array_to_lod_tensor
:noindex:
increment
---------
.. autofunction:: paddle.
v2.
fluid.layers.increment
.. autofunction:: paddle.fluid.layers.increment
:noindex:
array_write
-----------
.. autofunction:: paddle.
v2.
fluid.layers.array_write
.. autofunction:: paddle.fluid.layers.array_write
:noindex:
create_array
------------
.. autofunction:: paddle.
v2.
fluid.layers.create_array
.. autofunction:: paddle.fluid.layers.create_array
:noindex:
less_than
---------
.. autofunction:: paddle.
v2.
fluid.layers.less_than
.. autofunction:: paddle.fluid.layers.less_than
:noindex:
array_read
----------
.. autofunction:: paddle.
v2.
fluid.layers.array_read
.. autofunction:: paddle.fluid.layers.array_read
:noindex:
shrink_memory
-------------
.. autofunction:: paddle.
v2.
fluid.layers.shrink_memory
.. autofunction:: paddle.fluid.layers.shrink_memory
:noindex:
array_length
------------
.. autofunction:: paddle.
v2.
fluid.layers.array_length
.. autofunction:: paddle.fluid.layers.array_length
:noindex:
IfElse
------
.. autoclass:: paddle.
v2.
fluid.layers.IfElse
.. autoclass:: paddle.fluid.layers.IfElse
:members:
:noindex:
DynamicRNN
----------
.. autoclass:: paddle.
v2.
fluid.layers.DynamicRNN
.. autoclass:: paddle.fluid.layers.DynamicRNN
:members:
:noindex:
ConditionalBlock
----------------
.. autoclass:: paddle.
v2.
fluid.layers.ConditionalBlock
.. autoclass:: paddle.fluid.layers.ConditionalBlock
:members:
:noindex:
StaticRNN
---------
.. autoclass:: paddle.
v2.
fluid.layers.StaticRNN
.. autoclass:: paddle.fluid.layers.StaticRNN
:members:
:noindex:
reorder_lod_tensor_by_rank
--------------------------
.. autofunction:: paddle.
v2.
fluid.layers.reorder_lod_tensor_by_rank
.. autofunction:: paddle.fluid.layers.reorder_lod_tensor_by_rank
:noindex:
ParallelDo
----------
.. autoclass:: paddle.
v2.
fluid.layers.ParallelDo
.. autoclass:: paddle.fluid.layers.ParallelDo
:members:
:noindex:
Print
-----
.. autofunction:: paddle.
v2.
fluid.layers.Print
.. autofunction:: paddle.fluid.layers.Print
:noindex:
device
...
...
@@ -180,7 +180,7 @@ device
get_places
----------
.. autofunction:: paddle.
v2.
fluid.layers.get_places
.. autofunction:: paddle.fluid.layers.get_places
:noindex:
io
...
...
@@ -189,27 +189,27 @@ io
data
----
.. autofunction:: paddle.
v2.
fluid.layers.data
.. autofunction:: paddle.fluid.layers.data
:noindex:
BlockGuardServ
--------------
.. autoclass:: paddle.
v2.
fluid.layers.BlockGuardServ
.. autoclass:: paddle.fluid.layers.BlockGuardServ
:members:
:noindex:
ListenAndServ
-------------
.. autoclass:: paddle.
v2.
fluid.layers.ListenAndServ
.. autoclass:: paddle.fluid.layers.ListenAndServ
:members:
:noindex:
Send
----
.. autofunction:: paddle.
v2.
fluid.layers.Send
.. autofunction:: paddle.fluid.layers.Send
:noindex:
nn
...
...
@@ -218,259 +218,259 @@ nn
fc
--
.. autofunction:: paddle.
v2.
fluid.layers.fc
.. autofunction:: paddle.fluid.layers.fc
:noindex:
embedding
---------
.. autofunction:: paddle.
v2.
fluid.layers.embedding
.. autofunction:: paddle.fluid.layers.embedding
:noindex:
dynamic_lstm
------------
.. autofunction:: paddle.
v2.
fluid.layers.dynamic_lstm
.. autofunction:: paddle.fluid.layers.dynamic_lstm
:noindex:
dynamic_lstmp
-------------
.. autofunction:: paddle.
v2.
fluid.layers.dynamic_lstmp
.. autofunction:: paddle.fluid.layers.dynamic_lstmp
:noindex:
dynamic_gru
-----------
.. autofunction:: paddle.
v2.
fluid.layers.dynamic_gru
.. autofunction:: paddle.fluid.layers.dynamic_gru
:noindex:
gru_unit
--------
.. autofunction:: paddle.
v2.
fluid.layers.gru_unit
.. autofunction:: paddle.fluid.layers.gru_unit
:noindex:
linear_chain_crf
----------------
.. autofunction:: paddle.
v2.
fluid.layers.linear_chain_crf
.. autofunction:: paddle.fluid.layers.linear_chain_crf
:noindex:
crf_decoding
------------
.. autofunction:: paddle.
v2.
fluid.layers.crf_decoding
.. autofunction:: paddle.fluid.layers.crf_decoding
:noindex:
cos_sim
-------
.. autofunction:: paddle.
v2.
fluid.layers.cos_sim
.. autofunction:: paddle.fluid.layers.cos_sim
:noindex:
cross_entropy
-------------
.. autofunction:: paddle.
v2.
fluid.layers.cross_entropy
.. autofunction:: paddle.fluid.layers.cross_entropy
:noindex:
square_error_cost
-----------------
.. autofunction:: paddle.
v2.
fluid.layers.square_error_cost
.. autofunction:: paddle.fluid.layers.square_error_cost
:noindex:
accuracy
--------
.. autofunction:: paddle.
v2.
fluid.layers.accuracy
.. autofunction:: paddle.fluid.layers.accuracy
:noindex:
chunk_eval
----------
.. autofunction:: paddle.
v2.
fluid.layers.chunk_eval
.. autofunction:: paddle.fluid.layers.chunk_eval
:noindex:
sequence_conv
-------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_conv
.. autofunction:: paddle.fluid.layers.sequence_conv
:noindex:
conv2d
------
.. autofunction:: paddle.
v2.
fluid.layers.conv2d
.. autofunction:: paddle.fluid.layers.conv2d
:noindex:
sequence_pool
-------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_pool
.. autofunction:: paddle.fluid.layers.sequence_pool
:noindex:
pool2d
------
.. autofunction:: paddle.
v2.
fluid.layers.pool2d
.. autofunction:: paddle.fluid.layers.pool2d
:noindex:
batch_norm
----------
.. autofunction:: paddle.
v2.
fluid.layers.batch_norm
.. autofunction:: paddle.fluid.layers.batch_norm
:noindex:
layer_norm
----------
.. autofunction:: paddle.
v2.
fluid.layers.layer_norm
.. autofunction:: paddle.fluid.layers.layer_norm
:noindex:
beam_search_decode
------------------
.. autofunction:: paddle.
v2.
fluid.layers.beam_search_decode
.. autofunction:: paddle.fluid.layers.beam_search_decode
:noindex:
conv2d_transpose
----------------
.. autofunction:: paddle.
v2.
fluid.layers.conv2d_transpose
.. autofunction:: paddle.fluid.layers.conv2d_transpose
:noindex:
sequence_expand
---------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_expand
.. autofunction:: paddle.fluid.layers.sequence_expand
:noindex:
lstm_unit
---------
.. autofunction:: paddle.
v2.
fluid.layers.lstm_unit
.. autofunction:: paddle.fluid.layers.lstm_unit
:noindex:
reduce_sum
----------
.. autofunction:: paddle.
v2.
fluid.layers.reduce_sum
.. autofunction:: paddle.fluid.layers.reduce_sum
:noindex:
reduce_mean
-----------
.. autofunction:: paddle.
v2.
fluid.layers.reduce_mean
.. autofunction:: paddle.fluid.layers.reduce_mean
:noindex:
reduce_max
----------
.. autofunction:: paddle.
v2.
fluid.layers.reduce_max
.. autofunction:: paddle.fluid.layers.reduce_max
:noindex:
reduce_min
----------
.. autofunction:: paddle.
v2.
fluid.layers.reduce_min
.. autofunction:: paddle.fluid.layers.reduce_min
:noindex:
sequence_first_step
-------------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_first_step
.. autofunction:: paddle.fluid.layers.sequence_first_step
:noindex:
sequence_last_step
------------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_last_step
.. autofunction:: paddle.fluid.layers.sequence_last_step
:noindex:
dropout
-------
.. autofunction:: paddle.
v2.
fluid.layers.dropout
.. autofunction:: paddle.fluid.layers.dropout
:noindex:
split
-----
.. autofunction:: paddle.
v2.
fluid.layers.split
.. autofunction:: paddle.fluid.layers.split
:noindex:
ctc_greedy_decoder
------------------
.. autofunction:: paddle.
v2.
fluid.layers.ctc_greedy_decoder
.. autofunction:: paddle.fluid.layers.ctc_greedy_decoder
:noindex:
edit_distance
-------------
.. autofunction:: paddle.
v2.
fluid.layers.edit_distance
.. autofunction:: paddle.fluid.layers.edit_distance
:noindex:
l2_normalize
------------
.. autofunction:: paddle.
v2.
fluid.layers.l2_normalize
.. autofunction:: paddle.fluid.layers.l2_normalize
:noindex:
matmul
------
.. autofunction:: paddle.
v2.
fluid.layers.matmul
.. autofunction:: paddle.fluid.layers.matmul
:noindex:
warpctc
-------
.. autofunction:: paddle.
v2.
fluid.layers.warpctc
.. autofunction:: paddle.fluid.layers.warpctc
:noindex:
sequence_reshape
----------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_reshape
.. autofunction:: paddle.fluid.layers.sequence_reshape
:noindex:
transpose
---------
.. autofunction:: paddle.
v2.
fluid.layers.transpose
.. autofunction:: paddle.fluid.layers.transpose
:noindex:
im2sequence
-----------
.. autofunction:: paddle.
v2.
fluid.layers.im2sequence
.. autofunction:: paddle.fluid.layers.im2sequence
:noindex:
nce
---
.. autofunction:: paddle.
v2.
fluid.layers.nce
.. autofunction:: paddle.fluid.layers.nce
:noindex:
beam_search
-----------
.. autofunction:: paddle.
v2.
fluid.layers.beam_search
.. autofunction:: paddle.fluid.layers.beam_search
:noindex:
row_conv
--------
.. autofunction:: paddle.
v2.
fluid.layers.row_conv
.. autofunction:: paddle.fluid.layers.row_conv
:noindex:
multiplex
---------
.. autofunction:: paddle.
v2.
fluid.layers.multiplex
.. autofunction:: paddle.fluid.layers.multiplex
:noindex:
ops
...
...
@@ -479,259 +479,259 @@ ops
mean
----
.. autofunction:: paddle.
v2.
fluid.layers.mean
.. autofunction:: paddle.fluid.layers.mean
:noindex:
mul
---
.. autofunction:: paddle.
v2.
fluid.layers.mul
.. autofunction:: paddle.fluid.layers.mul
:noindex:
reshape
-------
.. autofunction:: paddle.
v2.
fluid.layers.reshape
.. autofunction:: paddle.fluid.layers.reshape
:noindex:
scale
-----
.. autofunction:: paddle.
v2.
fluid.layers.scale
.. autofunction:: paddle.fluid.layers.scale
:noindex:
sigmoid_cross_entropy_with_logits
---------------------------------
.. autofunction:: paddle.
v2.
fluid.layers.sigmoid_cross_entropy_with_logits
.. autofunction:: paddle.fluid.layers.sigmoid_cross_entropy_with_logits
:noindex:
elementwise_add
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_add
.. autofunction:: paddle.fluid.layers.elementwise_add
:noindex:
elementwise_div
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_div
.. autofunction:: paddle.fluid.layers.elementwise_div
:noindex:
elementwise_sub
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_sub
.. autofunction:: paddle.fluid.layers.elementwise_sub
:noindex:
elementwise_mul
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_mul
.. autofunction:: paddle.fluid.layers.elementwise_mul
:noindex:
elementwise_max
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_max
.. autofunction:: paddle.fluid.layers.elementwise_max
:noindex:
elementwise_min
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_min
.. autofunction:: paddle.fluid.layers.elementwise_min
:noindex:
elementwise_pow
---------------
.. autofunction:: paddle.
v2.
fluid.layers.elementwise_pow
.. autofunction:: paddle.fluid.layers.elementwise_pow
:noindex:
clip
----
.. autofunction:: paddle.
v2.
fluid.layers.clip
.. autofunction:: paddle.fluid.layers.clip
:noindex:
clip_by_norm
------------
.. autofunction:: paddle.
v2.
fluid.layers.clip_by_norm
.. autofunction:: paddle.fluid.layers.clip_by_norm
:noindex:
sequence_softmax
----------------
.. autofunction:: paddle.
v2.
fluid.layers.sequence_softmax
.. autofunction:: paddle.fluid.layers.sequence_softmax
:noindex:
sigmoid
-------
.. autofunction:: paddle.
v2.
fluid.layers.sigmoid
.. autofunction:: paddle.fluid.layers.sigmoid
:noindex:
logsigmoid
----------
.. autofunction:: paddle.
v2.
fluid.layers.logsigmoid
.. autofunction:: paddle.fluid.layers.logsigmoid
:noindex:
exp
---
.. autofunction:: paddle.
v2.
fluid.layers.exp
.. autofunction:: paddle.fluid.layers.exp
:noindex:
relu
----
.. autofunction:: paddle.
v2.
fluid.layers.relu
.. autofunction:: paddle.fluid.layers.relu
:noindex:
tanh
----
.. autofunction:: paddle.
v2.
fluid.layers.tanh
.. autofunction:: paddle.fluid.layers.tanh
:noindex:
tanh_shrink
-----------
.. autofunction:: paddle.
v2.
fluid.layers.tanh_shrink
.. autofunction:: paddle.fluid.layers.tanh_shrink
:noindex:
softshrink
----------
.. autofunction:: paddle.
v2.
fluid.layers.softshrink
.. autofunction:: paddle.fluid.layers.softshrink
:noindex:
sqrt
----
.. autofunction:: paddle.
v2.
fluid.layers.sqrt
.. autofunction:: paddle.fluid.layers.sqrt
:noindex:
abs
---
.. autofunction:: paddle.
v2.
fluid.layers.abs
.. autofunction:: paddle.fluid.layers.abs
:noindex:
ceil
----
.. autofunction:: paddle.
v2.
fluid.layers.ceil
.. autofunction:: paddle.fluid.layers.ceil
:noindex:
floor
-----
.. autofunction:: paddle.
v2.
fluid.layers.floor
.. autofunction:: paddle.fluid.layers.floor
:noindex:
round
-----
.. autofunction:: paddle.
v2.
fluid.layers.round
.. autofunction:: paddle.fluid.layers.round
:noindex:
reciprocal
----------
.. autofunction:: paddle.
v2.
fluid.layers.reciprocal
.. autofunction:: paddle.fluid.layers.reciprocal
:noindex:
log
---
.. autofunction:: paddle.
v2.
fluid.layers.log
.. autofunction:: paddle.fluid.layers.log
:noindex:
square
------
.. autofunction:: paddle.
v2.
fluid.layers.square
.. autofunction:: paddle.fluid.layers.square
:noindex:
softplus
--------
.. autofunction:: paddle.
v2.
fluid.layers.softplus
.. autofunction:: paddle.fluid.layers.softplus
:noindex:
softsign
--------
.. autofunction:: paddle.
v2.
fluid.layers.softsign
.. autofunction:: paddle.fluid.layers.softsign
:noindex:
brelu
-----
.. autofunction:: paddle.
v2.
fluid.layers.brelu
.. autofunction:: paddle.fluid.layers.brelu
:noindex:
leaky_relu
----------
.. autofunction:: paddle.
v2.
fluid.layers.leaky_relu
.. autofunction:: paddle.fluid.layers.leaky_relu
:noindex:
soft_relu
---------
.. autofunction:: paddle.
v2.
fluid.layers.soft_relu
.. autofunction:: paddle.fluid.layers.soft_relu
:noindex:
elu
---
.. autofunction:: paddle.
v2.
fluid.layers.elu
.. autofunction:: paddle.fluid.layers.elu
:noindex:
relu6
-----
.. autofunction:: paddle.
v2.
fluid.layers.relu6
.. autofunction:: paddle.fluid.layers.relu6
:noindex:
pow
---
.. autofunction:: paddle.
v2.
fluid.layers.pow
.. autofunction:: paddle.fluid.layers.pow
:noindex:
stanh
-----
.. autofunction:: paddle.
v2.
fluid.layers.stanh
.. autofunction:: paddle.fluid.layers.stanh
:noindex:
hard_shrink
-----------
.. autofunction:: paddle.
v2.
fluid.layers.hard_shrink
.. autofunction:: paddle.fluid.layers.hard_shrink
:noindex:
thresholded_relu
----------------
.. autofunction:: paddle.
v2.
fluid.layers.thresholded_relu
.. autofunction:: paddle.fluid.layers.thresholded_relu
:noindex:
hard_sigmoid
------------
.. autofunction:: paddle.
v2.
fluid.layers.hard_sigmoid
.. autofunction:: paddle.fluid.layers.hard_sigmoid
:noindex:
swish
-----
.. autofunction:: paddle.
v2.
fluid.layers.swish
.. autofunction:: paddle.fluid.layers.swish
:noindex:
tensor
...
...
@@ -740,66 +740,66 @@ tensor
create_tensor
-------------
.. autofunction:: paddle.
v2.
fluid.layers.create_tensor
.. autofunction:: paddle.fluid.layers.create_tensor
:noindex:
create_parameter
----------------
.. autofunction:: paddle.
v2.
fluid.layers.create_parameter
.. autofunction:: paddle.fluid.layers.create_parameter
:noindex:
create_global_var
-----------------
.. autofunction:: paddle.
v2.
fluid.layers.create_global_var
.. autofunction:: paddle.fluid.layers.create_global_var
:noindex:
cast
----
.. autofunction:: paddle.
v2.
fluid.layers.cast
.. autofunction:: paddle.fluid.layers.cast
:noindex:
concat
------
.. autofunction:: paddle.
v2.
fluid.layers.concat
.. autofunction:: paddle.fluid.layers.concat
:noindex:
sums
----
.. autofunction:: paddle.
v2.
fluid.layers.sums
.. autofunction:: paddle.fluid.layers.sums
:noindex:
assign
------
.. autofunction:: paddle.
v2.
fluid.layers.assign
.. autofunction:: paddle.fluid.layers.assign
:noindex:
fill_constant_batch_size_like
-----------------------------
.. autofunction:: paddle.
v2.
fluid.layers.fill_constant_batch_size_like
.. autofunction:: paddle.fluid.layers.fill_constant_batch_size_like
:noindex:
fill_constant
-------------
.. autofunction:: paddle.
v2.
fluid.layers.fill_constant
.. autofunction:: paddle.fluid.layers.fill_constant
:noindex:
ones
----
.. autofunction:: paddle.
v2.
fluid.layers.ones
.. autofunction:: paddle.fluid.layers.ones
:noindex:
zeros
-----
.. autofunction:: paddle.
v2.
fluid.layers.zeros
.. autofunction:: paddle.fluid.layers.zeros
:noindex:
develop/api_doc/_sources/v2/fluid/nets.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,24 +8,24 @@ nets
simple_img_conv_pool
--------------------
.. autofunction:: paddle.
v2.
fluid.nets.simple_img_conv_pool
.. autofunction:: paddle.fluid.nets.simple_img_conv_pool
:noindex:
sequence_conv_pool
------------------
.. autofunction:: paddle.
v2.
fluid.nets.sequence_conv_pool
.. autofunction:: paddle.fluid.nets.sequence_conv_pool
:noindex:
glu
---
.. autofunction:: paddle.
v2.
fluid.nets.glu
.. autofunction:: paddle.fluid.nets.glu
:noindex:
scaled_dot_product_attention
----------------------------
.. autofunction:: paddle.
v2.
fluid.nets.scaled_dot_product_attention
.. autofunction:: paddle.fluid.nets.scaled_dot_product_attention
:noindex:
develop/api_doc/_sources/v2/fluid/optimizer.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,42 +8,42 @@ optimizer
SGD
---
.. autoclass:: paddle.
v2.
fluid.optimizer.SGD
.. autoclass:: paddle.fluid.optimizer.SGD
:members:
:noindex:
Momentum
--------
.. autoclass:: paddle.
v2.
fluid.optimizer.Momentum
.. autoclass:: paddle.fluid.optimizer.Momentum
:members:
:noindex:
Adagrad
-------
.. autoclass:: paddle.
v2.
fluid.optimizer.Adagrad
.. autoclass:: paddle.fluid.optimizer.Adagrad
:members:
:noindex:
Adam
----
.. autoclass:: paddle.
v2.
fluid.optimizer.Adam
.. autoclass:: paddle.fluid.optimizer.Adam
:members:
:noindex:
Adamax
------
.. autoclass:: paddle.
v2.
fluid.optimizer.Adamax
.. autoclass:: paddle.fluid.optimizer.Adamax
:members:
:noindex:
DecayedAdagrad
--------------
.. autoclass:: paddle.
v2.
fluid.optimizer.DecayedAdagrad
.. autoclass:: paddle.fluid.optimizer.DecayedAdagrad
:members:
:noindex:
develop/api_doc/_sources/v2/fluid/param_attr.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,14 +8,14 @@ param_attr
ParamAttr
---------
.. autoclass:: paddle.
v2.
fluid.param_attr.ParamAttr
.. autoclass:: paddle.fluid.param_attr.ParamAttr
:members:
:noindex:
WeightNormParamAttr
-------------------
.. autoclass:: paddle.
v2.
fluid.param_attr.WeightNormParamAttr
.. autoclass:: paddle.fluid.param_attr.WeightNormParamAttr
:members:
:noindex:
develop/api_doc/_sources/v2/fluid/profiler.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,18 +8,18 @@ profiler
cuda_profiler
-------------
.. autofunction:: paddle.
v2.
fluid.profiler.cuda_profiler
.. autofunction:: paddle.fluid.profiler.cuda_profiler
:noindex:
reset_profiler
--------------
.. autofunction:: paddle.
v2.
fluid.profiler.reset_profiler
.. autofunction:: paddle.fluid.profiler.reset_profiler
:noindex:
profiler
--------
.. autofunction:: paddle.
v2.
fluid.profiler.profiler
.. autofunction:: paddle.fluid.profiler.profiler
:noindex:
develop/api_doc/_sources/v2/fluid/regularizer.rst.txt
浏览文件 @
b86d7f21
...
...
@@ -8,20 +8,20 @@ regularizer
append_regularization_ops
-------------------------
.. autofunction:: paddle.
v2.
fluid.regularizer.append_regularization_ops
.. autofunction:: paddle.fluid.regularizer.append_regularization_ops
:noindex:
L1Decay
-------
.. autoclass:: paddle.
v2.
fluid.regularizer.L1Decay
.. autoclass:: paddle.fluid.regularizer.L1Decay
:members:
:noindex:
L2Decay
-------
.. autoclass:: paddle.
v2.
fluid.regularizer.L2Decay
.. autoclass:: paddle.fluid.regularizer.L2Decay
:members:
:noindex:
develop/api_doc/v2/fluid/data_feeder.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
DataFeeder
<a
class=
"headerlink"
href=
"#datafeeder"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.data_feeder.
</code><code
class=
"descname"
>
DataFeeder
</code><span
class=
"sig-paren"
>
(
</span><em>
feed_list
</em>
,
<em>
place
</em>
,
<em>
program=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.data_feeder.
</code><code
class=
"descname"
>
DataFeeder
</code><span
class=
"sig-paren"
>
(
</span><em>
feed_list
</em>
,
<em>
place
</em>
,
<em>
program=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
develop/api_doc/v2/fluid/evaluator.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
Accuracy
<a
class=
"headerlink"
href=
"#accuracy"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.evaluator.
</code><code
class=
"descname"
>
Accuracy
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
label
</em>
,
<em>
k=1
</em>
,
<em>
**kwargs
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.evaluator.
</code><code
class=
"descname"
>
Accuracy
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
label
</em>
,
<em>
k=1
</em>
,
<em>
**kwargs
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Average Accuracy for multiple mini-batches.
</p>
</dd></dl>
...
...
@@ -188,7 +188,7 @@
<h2>
ChunkEvaluator
<a
class=
"headerlink"
href=
"#chunkevaluator"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.evaluator.
</code><code
class=
"descname"
>
ChunkEvaluator
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
label
</em>
,
<em>
chunk_scheme
</em>
,
<em>
num_chunk_types
</em>
,
<em>
excluded_chunk_types=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.evaluator.
</code><code
class=
"descname"
>
ChunkEvaluator
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
label
</em>
,
<em>
chunk_scheme
</em>
,
<em>
num_chunk_types
</em>
,
<em>
excluded_chunk_types=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Accumulate counter numbers output by chunk_eval from mini-batches and
compute the precision recall and F1-score using the accumulated counter
numbers.
</p>
...
...
develop/api_doc/v2/fluid/executor.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
Executor
<a
class=
"headerlink"
href=
"#id1"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.executor.
</code><code
class=
"descname"
>
Executor
</code><span
class=
"sig-paren"
>
(
</span><em>
places
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.executor.
</code><code
class=
"descname"
>
Executor
</code><span
class=
"sig-paren"
>
(
</span><em>
places
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -187,7 +187,7 @@
<h2>
global_scope
<a
class=
"headerlink"
href=
"#global-scope"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.executor.
</code><code
class=
"descname"
>
global_scope
</code><span
class=
"sig-paren"
>
(
</span><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.executor.
</code><code
class=
"descname"
>
global_scope
</code><span
class=
"sig-paren"
>
(
</span><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -195,7 +195,7 @@
<h2>
scope_guard
<a
class=
"headerlink"
href=
"#scope-guard"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.executor.
</code><code
class=
"descname"
>
scope_guard
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.executor.
</code><code
class=
"descname"
>
scope_guard
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -203,7 +203,7 @@
<h2>
switch_scope
<a
class=
"headerlink"
href=
"#switch-scope"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.executor.
</code><code
class=
"descname"
>
switch_scope
</code><span
class=
"sig-paren"
>
(
</span><em>
scope
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.executor.
</code><code
class=
"descname"
>
switch_scope
</code><span
class=
"sig-paren"
>
(
</span><em>
scope
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
develop/api_doc/v2/fluid/initializer.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
Constant
<a
class=
"headerlink"
href=
"#constant"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.initializer.
</code><code
class=
"descname"
>
Constant
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.initializer.
</code><code
class=
"descname"
>
Constant
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
ConstantInitializer
</span></code></p>
</dd></dl>
...
...
@@ -188,7 +188,7 @@
<h2>
Uniform
<a
class=
"headerlink"
href=
"#uniform"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.initializer.
</code><code
class=
"descname"
>
Uniform
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.initializer.
</code><code
class=
"descname"
>
Uniform
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
UniformInitializer
</span></code></p>
</dd></dl>
...
...
@@ -197,7 +197,7 @@
<h2>
Normal
<a
class=
"headerlink"
href=
"#normal"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.initializer.
</code><code
class=
"descname"
>
Normal
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.initializer.
</code><code
class=
"descname"
>
Normal
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
NormalInitializer
</span></code></p>
</dd></dl>
...
...
@@ -206,7 +206,7 @@
<h2>
Xavier
<a
class=
"headerlink"
href=
"#xavier"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.initializer.
</code><code
class=
"descname"
>
Xavier
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.initializer.
</code><code
class=
"descname"
>
Xavier
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
XavierInitializer
</span></code></p>
</dd></dl>
...
...
develop/api_doc/v2/fluid/io.html
浏览文件 @
b86d7f21
...
...
@@ -178,7 +178,7 @@
<h2>
save_vars
<a
class=
"headerlink"
href=
"#save-vars"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
save_vars
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
vars=None
</em>
,
<em>
predicate=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
save_vars
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
vars=None
</em>
,
<em>
predicate=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Save variables to directory by executor.
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
<col
class=
"field-name"
/>
...
...
@@ -215,7 +215,7 @@ If it is None, save variables to separate files.</p>
<h2>
save_params
<a
class=
"headerlink"
href=
"#save-params"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
save_params
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
save_params
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Save all parameters to directory with executor.
</p>
</dd></dl>
...
...
@@ -224,7 +224,7 @@ If it is None, save variables to separate files.</p>
<h2>
save_persistables
<a
class=
"headerlink"
href=
"#save-persistables"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
save_persistables
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
save_persistables
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Save all persistables to directory with executor.
</p>
</dd></dl>
...
...
@@ -233,7 +233,7 @@ If it is None, save variables to separate files.</p>
<h2>
load_vars
<a
class=
"headerlink"
href=
"#load-vars"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
load_vars
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
vars=None
</em>
,
<em>
predicate=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
load_vars
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
vars=None
</em>
,
<em>
predicate=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Load variables from directory by executor.
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
<col
class=
"field-name"
/>
...
...
@@ -270,7 +270,7 @@ If it is None, load variables from separate files.</p>
<h2>
load_params
<a
class=
"headerlink"
href=
"#load-params"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
load_params
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
load_params
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
load all parameters from directory by executor.
</p>
</dd></dl>
...
...
@@ -279,7 +279,7 @@ If it is None, load variables from separate files.</p>
<h2>
load_persistables
<a
class=
"headerlink"
href=
"#load-persistables"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
load_persistables
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
load_persistables
</code><span
class=
"sig-paren"
>
(
</span><em>
executor
</em>
,
<em>
dirname
</em>
,
<em>
main_program=None
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
load all persistables from directory by executor.
</p>
</dd></dl>
...
...
@@ -288,7 +288,7 @@ If it is None, load variables from separate files.</p>
<h2>
save_inference_model
<a
class=
"headerlink"
href=
"#save-inference-model"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
save_inference_model
</code><span
class=
"sig-paren"
>
(
</span><em>
dirname
</em>
,
<em>
feeded_var_names
</em>
,
<em>
target_vars
</em>
,
<em>
executor
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
save_inference_model
</code><span
class=
"sig-paren"
>
(
</span><em>
dirname
</em>
,
<em>
feeded_var_names
</em>
,
<em>
target_vars
</em>
,
<em>
executor
</em>
,
<em>
main_program=None
</em>
,
<em>
save_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Build a model especially for inference,
and save it to directory by the executor.
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
...
...
@@ -324,7 +324,7 @@ Default default_main_program().</li>
<h2>
load_inference_model
<a
class=
"headerlink"
href=
"#load-inference-model"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
load_inference_model
</code><span
class=
"sig-paren"
>
(
</span><em>
dirname
</em>
,
<em>
executor
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
load_inference_model
</code><span
class=
"sig-paren"
>
(
</span><em>
dirname
</em>
,
<em>
executor
</em>
,
<em>
load_file_name=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Load inference model from a directory
</p>
<table
class=
"docutils field-list"
frame=
"void"
rules=
"none"
>
<col
class=
"field-name"
/>
...
...
@@ -358,7 +358,7 @@ fetch_targets: Variables from which we can get inference results.</td>
<h2>
get_inference_program
<a
class=
"headerlink"
href=
"#get-inference-program"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.io.
</code><code
class=
"descname"
>
get_inference_program
</code><span
class=
"sig-paren"
>
(
</span><em>
target_vars
</em>
,
<em>
main_program=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.io.
</code><code
class=
"descname"
>
get_inference_program
</code><span
class=
"sig-paren"
>
(
</span><em>
target_vars
</em>
,
<em>
main_program=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
develop/api_doc/v2/fluid/layers.html
浏览文件 @
b86d7f21
此差异已折叠。
点击以展开。
develop/api_doc/v2/fluid/nets.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
simple_img_conv_pool
<a
class=
"headerlink"
href=
"#simple-img-conv-pool"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.nets.
</code><code
class=
"descname"
>
simple_img_conv_pool
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
num_filters
</em>
,
<em>
filter_size
</em>
,
<em>
pool_size
</em>
,
<em>
pool_stride
</em>
,
<em>
act
</em>
,
<em>
param_attr=None
</em>
,
<em>
pool_type='max'
</em>
,
<em>
use_cudnn=True
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.nets.
</code><code
class=
"descname"
>
simple_img_conv_pool
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
num_filters
</em>
,
<em>
filter_size
</em>
,
<em>
pool_size
</em>
,
<em>
pool_stride
</em>
,
<em>
act
</em>
,
<em>
param_attr=None
</em>
,
<em>
pool_type='max'
</em>
,
<em>
use_cudnn=True
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -187,7 +187,7 @@
<h2>
sequence_conv_pool
<a
class=
"headerlink"
href=
"#sequence-conv-pool"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.nets.
</code><code
class=
"descname"
>
sequence_conv_pool
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
num_filters
</em>
,
<em>
filter_size
</em>
,
<em>
param_attr=None
</em>
,
<em>
act='sigmoid'
</em>
,
<em>
pool_type='max'
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.nets.
</code><code
class=
"descname"
>
sequence_conv_pool
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
num_filters
</em>
,
<em>
filter_size
</em>
,
<em>
param_attr=None
</em>
,
<em>
act='sigmoid'
</em>
,
<em>
pool_type='max'
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -195,7 +195,7 @@
<h2>
glu
<a
class=
"headerlink"
href=
"#glu"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.nets.
</code><code
class=
"descname"
>
glu
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
dim=-1
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.nets.
</code><code
class=
"descname"
>
glu
</code><span
class=
"sig-paren"
>
(
</span><em>
input
</em>
,
<em>
dim=-1
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
The gated linear unit composed by split, sigmoid activation and elementwise
multiplication. Specifically, Split the input into two equal sized parts
<span
class=
"math"
>
\(a\)
</span>
and
<span
class=
"math"
>
\(b\)
</span>
along the given dimension and then compute as
...
...
@@ -236,7 +236,7 @@ dimension to split along is <span class="math">\(rank(input) + dim\)</span>.</li
<h2>
scaled_dot_product_attention
<a
class=
"headerlink"
href=
"#scaled-dot-product-attention"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.nets.
</code><code
class=
"descname"
>
scaled_dot_product_attention
</code><span
class=
"sig-paren"
>
(
</span><em>
queries
</em>
,
<em>
keys
</em>
,
<em>
values
</em>
,
<em>
num_heads=1
</em>
,
<em>
dropout_rate=0.0
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.nets.
</code><code
class=
"descname"
>
scaled_dot_product_attention
</code><span
class=
"sig-paren"
>
(
</span><em>
queries
</em>
,
<em>
keys
</em>
,
<em>
values
</em>
,
<em>
num_heads=1
</em>
,
<em>
dropout_rate=0.0
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
The dot-product attention.
</p>
<p>
Attention mechanism can be seen as mapping a query and a set of key-value
pairs to an output. The output is computed as a weighted sum of the values,
...
...
develop/api_doc/v2/fluid/optimizer.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
SGD
<a
class=
"headerlink"
href=
"#sgd"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
SGD
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
SGD
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
SGDOptimizer
</span></code></p>
</dd></dl>
...
...
@@ -188,7 +188,7 @@
<h2>
Momentum
<a
class=
"headerlink"
href=
"#momentum"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
Momentum
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
Momentum
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
MomentumOptimizer
</span></code></p>
</dd></dl>
...
...
@@ -197,7 +197,7 @@
<h2>
Adagrad
<a
class=
"headerlink"
href=
"#adagrad"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
Adagrad
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
Adagrad
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
AdagradOptimizer
</span></code></p>
</dd></dl>
...
...
@@ -206,7 +206,7 @@
<h2>
Adam
<a
class=
"headerlink"
href=
"#adam"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
Adam
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
Adam
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
AdamOptimizer
</span></code></p>
</dd></dl>
...
...
@@ -215,7 +215,7 @@
<h2>
Adamax
<a
class=
"headerlink"
href=
"#adamax"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
Adamax
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
Adamax
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
AdamaxOptimizer
</span></code></p>
</dd></dl>
...
...
@@ -224,7 +224,7 @@
<h2>
DecayedAdagrad
<a
class=
"headerlink"
href=
"#decayedadagrad"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.optimizer.
</code><code
class=
"descname"
>
DecayedAdagrad
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.optimizer.
</code><code
class=
"descname"
>
DecayedAdagrad
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
DecayedAdagradOptimizer
</span></code></p>
</dd></dl>
...
...
develop/api_doc/v2/fluid/param_attr.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
ParamAttr
<a
class=
"headerlink"
href=
"#paramattr"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.param_attr.
</code><code
class=
"descname"
>
ParamAttr
</code><span
class=
"sig-paren"
>
(
</span><em>
name=None
</em>
,
<em>
initializer=None
</em>
,
<em>
learning_rate=1.0
</em>
,
<em>
regularizer=None
</em>
,
<em>
trainable=True
</em>
,
<em>
gradient_clip=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.param_attr.
</code><code
class=
"descname"
>
ParamAttr
</code><span
class=
"sig-paren"
>
(
</span><em>
name=None
</em>
,
<em>
initializer=None
</em>
,
<em>
learning_rate=1.0
</em>
,
<em>
regularizer=None
</em>
,
<em>
trainable=True
</em>
,
<em>
gradient_clip=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd></dd></dl>
</div>
...
...
@@ -187,7 +187,7 @@
<h2>
WeightNormParamAttr
<a
class=
"headerlink"
href=
"#weightnormparamattr"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"class"
>
<dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.
v2.
fluid.param_attr.
</code><code
class=
"descname"
>
WeightNormParamAttr
</code><span
class=
"sig-paren"
>
(
</span><em>
dim=None
</em>
,
<em>
**kwargs
</em><span
class=
"sig-paren"
>
)
</span></dt>
<em
class=
"property"
>
class
</em><code
class=
"descclassname"
>
paddle.fluid.param_attr.
</code><code
class=
"descname"
>
WeightNormParamAttr
</code><span
class=
"sig-paren"
>
(
</span><em>
dim=None
</em>
,
<em>
**kwargs
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Used for weight normalization. Any field in ParamAttr can also be set here.
Besides, an extra field dim can be set to indicate the dimension except
which to normalize.
</p>
...
...
develop/api_doc/v2/fluid/profiler.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
cuda_profiler
<a
class=
"headerlink"
href=
"#cuda-profiler"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.profiler.
</code><code
class=
"descname"
>
cuda_profiler
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.profiler.
</code><code
class=
"descname"
>
cuda_profiler
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
The CUDA profiler.
This fuctions is used to profile CUDA program by CUDA runtime application
programming interface. The profiling result will be written into
...
...
@@ -211,7 +211,7 @@ to “Compute Command Line Profiler User Guide”.</li>
<h2>
reset_profiler
<a
class=
"headerlink"
href=
"#reset-profiler"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.profiler.
</code><code
class=
"descname"
>
reset_profiler
</code><span
class=
"sig-paren"
>
(
</span><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.profiler.
</code><code
class=
"descname"
>
reset_profiler
</code><span
class=
"sig-paren"
>
(
</span><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
The profiler clear interface.
reset_profiler will clear the previous time record.
</p>
</dd></dl>
...
...
@@ -221,7 +221,7 @@ reset_profiler will clear the previous time record.</p>
<h2>
profiler
<a
class=
"headerlink"
href=
"#id1"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.profiler.
</code><code
class=
"descname"
>
profiler
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.profiler.
</code><code
class=
"descname"
>
profiler
</code><span
class=
"sig-paren"
>
(
</span><em>
*args
</em>
,
<em>
**kwds
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
The profiler interface.
Different from cuda_profiler, this profiler can be used to profile both CPU
and GPU program. By defalut, it records the CPU and GPU operator kernels,
...
...
develop/api_doc/v2/fluid/regularizer.html
浏览文件 @
b86d7f21
...
...
@@ -179,7 +179,7 @@
<h2>
append_regularization_ops
<a
class=
"headerlink"
href=
"#append-regularization-ops"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"function"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.regularizer.
</code><code
class=
"descname"
>
append_regularization_ops
</code><span
class=
"sig-paren"
>
(
</span><em>
parameters_and_grads
</em>
,
<em>
regularization=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<code
class=
"descclassname"
>
paddle.fluid.regularizer.
</code><code
class=
"descname"
>
append_regularization_ops
</code><span
class=
"sig-paren"
>
(
</span><em>
parameters_and_grads
</em>
,
<em>
regularization=None
</em><span
class=
"sig-paren"
>
)
</span></dt>
<dd><p>
Create and add backward regularization Operators
</p>
<p>
Creates and adds backward regularization operators in the BlockDesc.
This will add gradients of the regularizer function to the gradients
...
...
@@ -212,7 +212,7 @@ set. It will be applied with regularizer.</li>
<h2>
L1Decay
<a
class=
"headerlink"
href=
"#l1decay"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.regularizer.
</code><code
class=
"descname"
>
L1Decay
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.regularizer.
</code><code
class=
"descname"
>
L1Decay
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
L1DecayRegularizer
</span></code></p>
</dd></dl>
...
...
@@ -221,7 +221,7 @@ set. It will be applied with regularizer.</li>
<h2>
L2Decay
<a
class=
"headerlink"
href=
"#l2decay"
title=
"Permalink to this headline"
>
¶
</a></h2>
<dl
class=
"attribute"
>
<dt>
<code
class=
"descclassname"
>
paddle.
v2.
fluid.regularizer.
</code><code
class=
"descname"
>
L2Decay
</code></dt>
<code
class=
"descclassname"
>
paddle.fluid.regularizer.
</code><code
class=
"descname"
>
L2Decay
</code></dt>
<dd><p>
alias of
<code
class=
"xref py py-class docutils literal"
><span
class=
"pre"
>
L2DecayRegularizer
</span></code></p>
</dd></dl>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录