未验证 提交 b20ed76d 编写于 作者: S swtkiwi 提交者: GitHub

test=develop (#2151)

上级 1879b792
=======================
fluid.dataset
paddle.dataset
=======================
......
......@@ -5,25 +5,24 @@ paddle.declarative
.. toctree::
:maxdepth: 1
declarative_cn/batch_norm_cn.rst
declarative_cn/bilinear_tensor_product_cn.rst
declarative_cn/conv2d_cn.rst
declarative_cn/conv2d_transpose_cn.rst
declarative_cn/conv3d_cn.rst
declarative_cn/conv3d_transpose_cn.rst
declarative_cn/create_parameter_cn.rst
declarative_cn/crf_decoding_cn.rst
declarative_cn/data_norm_cn.rst
declarative_cn/deformable_conv_cn.rst
declarative_cn/embedding_cn.rst
declarative_cn/fc_cn.rst
declarative_cn/group_norm_cn.rst
declarative_cn/hsigmoid_cn.rst
declarative_cn/instance_norm_cn.rst
declarative_cn/layer_norm_cn.rst
declarative_cn/multi_box_head_cn.rst
declarative_cn/nce_cn.rst
declarative_cn/prelu_cn.rst
declarative_cn/row_conv_cn.rst
declarative_cn/spectral_norm_cn.rst
declarative_cn/batch_norm_cn.rst
declarative_cn/bilinear_tensor_product_cn.rst
declarative_cn/conv2d_cn.rst
declarative_cn/conv2d_transpose_cn.rst
declarative_cn/conv3d_cn.rst
declarative_cn/conv3d_transpose_cn.rst
declarative_cn/create_parameter_cn.rst
declarative_cn/crf_decoding_cn.rst
declarative_cn/data_norm_cn.rst
declarative_cn/deformable_conv_cn.rst
declarative_cn/embedding_cn.rst
declarative_cn/fc_cn.rst
declarative_cn/group_norm_cn.rst
declarative_cn/hsigmoid_cn.rst
declarative_cn/instance_norm_cn.rst
declarative_cn/layer_norm_cn.rst
declarative_cn/multi_box_head_cn.rst
declarative_cn/nce_cn.rst
declarative_cn/prelu_cn.rst
declarative_cn/row_conv_cn.rst
declarative_cn/spectral_norm_cn.rst
.. container:: doc_source
.. _cn_api_declarative_cn_batch_norm:
batch_norm
-------------------------------
:doc_source: paddle.fluid.layers.batch_norm
paddle.fluid.layers.batch_norm
.. container:: doc_source
.. _cn_api_declarative_cn_bilinear_tensor_product:
bilinear_tensor_product
-------------------------------
:doc_source: paddle.fluid.layers.bilinear_tensor_product
paddle.fluid.layers.bilinear_tensor_product
.. container:: doc_source
.. _cn_api_declarative_cn_conv2d:
conv2d
-------------------------------
:doc_source: paddle.fluid.layers.conv2d
paddle.fluid.layers.conv2d
.. container:: doc_source
.. _cn_api_declarative_cn_conv2d_transpose:
conv2d_transpose
-------------------------------
:doc_source: paddle.fluid.layers.conv2d_transpose
paddle.fluid.layers.conv2d_transpose
.. container:: doc_source
.. _cn_api_declarative_cn_conv3d:
conv3d
-------------------------------
:doc_source: paddle.fluid.layers.conv3d
paddle.fluid.layers.conv3d
.. container:: doc_source
.. _cn_api_declarative_cn_conv3d_transpose:
conv3d_transpose
-------------------------------
:doc_source: paddle.fluid.layers.conv3d_transpose
paddle.fluid.layers.conv3d_transpose
.. container:: doc_source
.. _cn_api_declarative_cn_create_parameter:
create_parameter
-------------------------------
:doc_source: paddle.fluid.layers.create_parameter
paddle.fluid.layers.create_parameter
.. container:: doc_source
.. _cn_api_declarative_cn_crf_decoding:
crf_decoding
-------------------------------
:doc_source: paddle.fluid.layers.crf_decoding
paddle.fluid.layers.crf_decoding
.. container:: doc_source
.. _cn_api_declarative_cn_data_norm:
data_norm
-------------------------------
:doc_source: paddle.fluid.layers.data_norm
paddle.fluid.layers.data_norm
.. container:: doc_source
.. _cn_api_declarative_cn_deformable_conv:
deformable_conv
-------------------------------
:doc_source: paddle.fluid.layers.deformable_conv
paddle.fluid.layers.deformable_conv
.. container:: doc_source
.. _cn_api_declarative_cn_embedding:
embedding
-------------------------------
:doc_source: paddle.fluid.input.embedding
paddle.fluid.input.embedding
.. container:: doc_source
.. _cn_api_declarative_cn_fc:
fc
-------------------------------
:doc_source: paddle.fluid.layers.fc
paddle.fluid.layers.fc
.. container:: doc_source
.. _cn_api_declarative_cn_group_norm:
group_norm
-------------------------------
:doc_source: paddle.fluid.layers.group_norm
paddle.fluid.layers.group_norm
.. container:: doc_source
.. _cn_api_declarative_cn_hsigmoid:
hsigmoid
-------------------------------
:doc_source: paddle.fluid.layers.hsigmoid
paddle.fluid.layers.hsigmoid
.. container:: doc_source
.. _cn_api_declarative_cn_instance_norm:
instance_norm
-------------------------------
:doc_source: paddle.fluid.layers.instance_norm
paddle.fluid.layers.instance_norm
.. container:: doc_source
.. _cn_api_declarative_cn_layer_norm:
layer_norm
-------------------------------
:doc_source: paddle.fluid.layers.layer_norm
paddle.fluid.layers.layer_norm
.. container:: doc_source
.. _cn_api_declarative_cn_multi_box_head:
multi_box_head
-------------------------------
:doc_source: paddle.fluid.layers.multi_box_head
paddle.fluid.layers.multi_box_head
.. container:: doc_source
.. _cn_api_declarative_cn_nce:
nce
-------------------------------
:doc_source: paddle.fluid.layers.nce
paddle.fluid.layers.nce
.. container:: doc_source
.. _cn_api_declarative_cn_prelu:
prelu
-------------------------------
:doc_source: paddle.fluid.layers.prelu
paddle.fluid.layers.prelu
.. container:: doc_source
.. _cn_api_declarative_cn_row_conv:
row_conv
-------------------------------
:doc_source: paddle.fluid.layers.row_conv
paddle.fluid.layers.row_conv
.. container:: doc_source
.. _cn_api_declarative_cn_spectral_norm:
spectral_norm
-------------------------------
:doc_source: paddle.fluid.layers.spectral_norm
paddle.fluid.layers.spectral_norm
......@@ -8,30 +8,30 @@ paddle.framework
.. toctree::
:maxdepth: 1
framework_cn/append_backward_cn.rst
framework_cn/BuildStrategy_cn.rst
framework_cn/CompiledProgram_cn.rst
framework_cn/CPUPlace_cn.rst
framework_cn/create_global_var_cn.rst
framework_cn/create_parameter_cn.rst
framework_cn/CUDAPinnedPlace_cn.rst
framework_cn/CUDAPlace_cn.rst
framework_cn/default_main_program_cn.rst
framework_cn/default_startup_program_cn.rst
framework_cn/ExecutionStrateg y_cn.rst
framework_cn/Executor_cn.rst
framework_cn/get_default_dtype_cn.rst
framework_cn/global_scope_cn.rst
framework_cn/gradients_cn.rst
framework_cn/manual_seed_cn.rst
framework_cn/name_scope_cn.rst
framework_cn/ParallelExecutor_cn.rst
framework_cn/ParamAttr_cn.rst
framework_cn/Print_cn.rst
framework_cn/Program_cn.rst
framework_cn/program_guard_cn.rst
framework_cn/py_func_cn.rst
framework_cn/scope_guard_cn.rst
framework_cn/set_default_dtype_cn.rst
framework_cn/append_backward_cn.rst
framework_cn/BuildStrategy_cn.rst
framework_cn/CompiledProgram_cn.rst
framework_cn/CPUPlace_cn.rst
framework_cn/create_global_var_cn.rst
framework_cn/create_parameter_cn.rst
framework_cn/CUDAPinnedPlace_cn.rst
framework_cn/CUDAPlace_cn.rst
framework_cn/default_main_program_cn.rst
framework_cn/default_startup_program_cn.rst
framework_cn/ExecutionStrateg y_cn.rst
framework_cn/Executor_cn.rst
framework_cn/global_scope_cn.rst
framework_cn/gradients_cn.rst
framework_cn/name_scope_cn.rst
framework_cn/ParallelExecutor_cn.rst
framework_cn/ParamAttr_cn.rst
framework_cn/Print_cn.rst
framework_cn/Program_cn.rst
framework_cn/program_guard_cn.rst
framework_cn/py_func_cn.rst
framework_cn/scope_guard_cn.rst
framework_cn/Variable_cn.rst
framework_cn/WeightNormParamAttr_cn.rst
framework_cn/Variable_cn.rst
framework_cn/WeightNormParamAttr_cn.rst
.. container:: doc_source
.. _cn_api_framework_cn_BuildStrategy:
BuildStrategy
-------------------------------
:doc_source: paddle.fluid.compiler.BuildStrategy
paddle.fluid.compiler.BuildStrategy
.. container:: doc_source
.. _cn_api_framework_cn_CPUPlace:
CPUPlace
-------------------------------
:doc_source: paddle.fluid.core.CPUPlace
paddle.fluid.core.CPUPlace
.. container:: doc_source
.. _cn_api_framework_cn_CUDAPinnedPlace:
CUDAPinnedPlace
-------------------------------
:doc_source: paddle.fluid.core.CUDAPinnedPlace
paddle.fluid.core.CUDAPinnedPlace
.. container:: doc_source
.. _cn_api_framework_cn_CUDAPlace:
CUDAPlace
-------------------------------
:doc_source: paddle.fluid.core.CUDAPlace
paddle.fluid.core.CUDAPlace
.. container:: doc_source
.. _cn_api_framework_cn_CompiledProgram:
CompiledProgram
-------------------------------
:doc_source: paddle.fluid.compiler.CompiledProgram
paddle.fluid.compiler.CompiledProgram
.. container:: doc_source
.. _cn_api_framework_cn_ExecutionStrateg y:
ExecutionStrateg y
-------------------------------
:doc_source: paddle.fluid.compiler.ExecutionStrateg y
paddle.fluid.compiler.ExecutionStrateg y
.. container:: doc_source
.. _cn_api_framework_cn_Executor:
Executor
-------------------------------
:doc_source: paddle.fluid.executor.Executor
paddle.fluid.executor.Executor
.. container:: doc_source
.. _cn_api_framework_cn_ParallelExecutor:
ParallelExecutor
-------------------------------
:doc_source: paddle.fluid.parallel_executor.ParallelExecutor
paddle.fluid.parallel_executor.ParallelExecutor
.. container:: doc_source
.. _cn_api_framework_cn_ParamAttr:
ParamAttr
-------------------------------
:doc_source: paddle.fluid.param_attr.ParamAttr
paddle.fluid.param_attr.ParamAttr
.. container:: doc_source
.. _cn_api_framework_cn_Print:
Print
-------------------------------
:doc_source: paddle.fluid.layers.control_flow.Print
paddle.fluid.layers.control_flow.Print
.. container:: doc_source
.. _cn_api_framework_cn_Program:
Program
-------------------------------
:doc_source: paddle.fluid.framework.Program
paddle.fluid.framework.Program
.. container:: doc_source
.. _cn_api_framework_cn_Variable:
Variable
-------------------------------
:doc_source: paddle.fluid.framework.Variable
paddle.fluid.framework.Variable
.. container:: doc_source
.. _cn_api_framework_cn_WeightNormParamAttr:
WeightNormParamAttr
-------------------------------
:doc_source: paddle.fluid.param_attr.WeightNormParamAttr
paddle.fluid.param_attr.WeightNormParamAttr
.. container:: doc_source
.. _cn_api_framework_cn_append_backward:
append_backward
-------------------------------
:doc_source: paddle.fluid.backward.append_backward
paddle.fluid.backward.append_backward
.. container:: doc_source
.. _cn_api_framework_cn_create_global_var:
create_global_var
-------------------------------
:doc_source: paddle.fluid.layers.tensor.create_global_var
paddle.fluid.layers.tensor.create_global_var
.. container:: doc_source
.. _cn_api_framework_cn_create_parameter:
create_parameter
-------------------------------
:doc_source: paddle.fluid.layers.create_parameter
paddle.fluid.layers.create_parameter
.. container:: doc_source
.. _cn_api_framework_cn_default_main_program:
default_main_program
-------------------------------
:doc_source: paddle.fluid.framework.default_main_program
paddle.fluid.framework.default_main_program
.. container:: doc_source
.. _cn_api_framework_cn_default_startup_program:
default_startup_program
-------------------------------
:doc_source: paddle.fluid.framework.default_startup_program
paddle.fluid.framework.default_startup_program
.. container:: doc_source
.. _cn_api_framework_cn_global_scope:
global_scope
-------------------------------
:doc_source: paddle.fluid.executor.global_scope
paddle.fluid.executor.global_scope
.. container:: doc_source
.. _cn_api_framework_cn_gradients:
gradients
-------------------------------
:doc_source: paddle.fluid.backward.gradients
paddle.fluid.backward.gradients
.. container:: doc_source
.. _cn_api_framework_cn_name_scope:
name_scope
-------------------------------
:doc_source: paddle.fluid.framework.name_scope
paddle.fluid.framework.name_scope
.. container:: doc_source
.. _cn_api_framework_cn_program_guard:
program_guard
-------------------------------
:doc_source: paddle.fluid.framework.program_guard
paddle.fluid.framework.program_guard
.. container:: doc_source
.. _cn_api_framework_cn_py_func:
py_func
-------------------------------
:doc_source: paddle.fluid.layers.nn.py_func
paddle.fluid.layers.nn.py_func
.. container:: doc_source
.. _cn_api_framework_cn_scope_guard:
scope_guard
-------------------------------
:doc_source: paddle.fluid.executor.scope_guard
paddle.fluid.executor.scope_guard
......@@ -5,24 +5,25 @@ paddle.imperative
.. toctree::
:maxdepth: 1
imperative_cn/CosineDecay_cn.rst
imperative_cn/DataParallel_cn.rst
imperative_cn/declarative_cn.rst
imperative_cn/enabled_cn.rst
imperative_cn/ExponentialDecay_cn.rst
imperative_cn/grad_cn.rst
imperative_cn/guard_cn.rst
imperative_cn/InverseTimeDecay_cn.rst
imperative_cn/load_cn.rst
imperative_cn/NaturalExpDecay_cn.rst
imperative_cn/NoamDecay_cn.rst
imperative_cn/no_grad_cn.rst
imperative_cn/ParallelEnv_cn.rst
imperative_cn/PiecewiseDecay_cn.rst
imperative_cn/PolynomialDecay_cn.rst
imperative_cn/prepare_context_cn.rst
imperative_cn/ProgramTranslator_cn.rst
imperative_cn/save_cn.rst
imperative_cn/to_variable_cn.rst
imperative_cn/TracedLayer_cn.rst
imperative_cn/CosineDecay_cn.rst
imperative_cn/DataParallel_cn.rst
imperative_cn/declarative_cn.rst
imperative_cn/enabled_cn.rst
imperative_cn/ExponentialDecay_cn.rst
imperative_cn/grad_cn.rst
imperative_cn/guard_cn.rst
imperative_cn/InverseTimeDecay_cn.rst
imperative_cn/load_cn.rst
imperative_cn/load_dygraph_cn.rst
imperative_cn/NaturalExpDecay_cn.rst
imperative_cn/no_grad_cn.rst
imperative_cn/NoamDecay_cn.rst
imperative_cn/ParallelEnv_cn.rst
imperative_cn/PiecewiseDecay_cn.rst
imperative_cn/PolynomialDecay_cn.rst
imperative_cn/prepare_context_cn.rst
imperative_cn/ProgramTranslator_cn.rst
imperative_cn/save_cn.rst
imperative_cn/save_dygraph_cn.rst
imperative_cn/to_variable_cn.rst
imperative_cn/TracedLayer_cn.rst
.. container:: doc_source
.. _cn_api_imperative_cn_CosineDecay:
CosineDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.CosineDecay
paddle.fluid.dygraph.learning_rate_scheduler.CosineDecay
.. container:: doc_source
.. _cn_api_imperative_cn_DataParallel:
DataParallel
-------------------------------
:doc_source: paddle.fluid.dygraph.parallel.DataParallel
paddle.fluid.dygraph.parallel.DataParallel
.. container:: doc_source
.. _cn_api_imperative_cn_ExponentialDecay:
ExponentialDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.ExponentialDecay
paddle.fluid.dygraph.learning_rate_scheduler.ExponentialDecay
.. container:: doc_source
.. _cn_api_imperative_cn_InverseTimeDecay:
InverseTimeDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.InverseTimeDecay
paddle.fluid.dygraph.learning_rate_scheduler.InverseTimeDecay
.. container:: doc_source
.. _cn_api_imperative_cn_NaturalExpDecay:
NaturalExpDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.NaturalExpDecay
paddle.fluid.dygraph.learning_rate_scheduler.NaturalExpDecay
.. container:: doc_source
.. _cn_api_imperative_cn_NoamDecay:
NoamDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.NoamDecay
paddle.fluid.dygraph.learning_rate_scheduler.NoamDecay
.. container:: doc_source
.. _cn_api_imperative_cn_ParallelEnv:
ParallelEnv
-------------------------------
:doc_source: paddle.fluid.dygraph.parallel.ParallelEnv
paddle.fluid.dygraph.parallel.ParallelEnv
.. container:: doc_source
.. _cn_api_imperative_cn_PiecewiseDecay:
PiecewiseDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.PiecewiseDecay
paddle.fluid.dygraph.learning_rate_scheduler.PiecewiseDecay
.. container:: doc_source
.. _cn_api_imperative_cn_PolynomialDecay:
PolynomialDecay
-------------------------------
:doc_source: paddle.fluid.dygraph.learning_rate_scheduler.PolynomialDecay
paddle.fluid.dygraph.learning_rate_scheduler.PolynomialDecay
.. container:: doc_source
.. _cn_api_imperative_cn_ProgramTranslator:
ProgramTranslator
-------------------------------
:doc_source: paddle.fluid.dygraph.ProgramTranslator
paddle.fluid.dygraph.ProgramTranslator
.. container:: doc_source
.. _cn_api_imperative_cn_TracedLayer:
TracedLayer
-------------------------------
:doc_source: paddle.fluid.dygraph.jit.TracedLayer
paddle.fluid.dygraph.jit.TracedLayer
.. container:: doc_source
.. _cn_api_imperative_cn_declarative:
declarative
-------------------------------
:doc_source: paddle.fluid.dygraph.jit.declarative
paddle.fluid.dygraph.jit.declarative
.. container:: doc_source
.. _cn_api_imperative_cn_enabled:
enabled
-------------------------------
:doc_source: paddle.fluid.dygraph.base.enabled
paddle.fluid.dygraph.base.enabled
.. container:: doc_source
.. _cn_api_imperative_cn_grad:
grad
-------------------------------
:doc_source: paddle.fluid.dygraph.base.grad
paddle.fluid.dygraph.base.grad
.. container:: doc_source
.. _cn_api_imperative_cn_guard:
guard
-------------------------------
:doc_source: paddle.fluid.dygraph.base.guard
paddle.fluid.dygraph.base.guard
.. container:: doc_source
.. _cn_api_imperative_cn_load:
load
-------------------------------
:doc_source: paddle.fluid.dygraph.checkpoint.load_dygraph
paddle.fluid.dygraph.checkpoint.load_dygraph
.. container:: doc_source
.. _cn_api_imperative_cn_no_grad:
no_grad
-------------------------------
:doc_source: paddle.fluid.dygraph.base.no_grad
paddle.fluid.dygraph.base.no_grad
.. container:: doc_source
.. _cn_api_imperative_cn_prepare_context:
prepare_context
-------------------------------
:doc_source: paddle.fluid.dygraph.parallel.prepare_context
paddle.fluid.dygraph.parallel.prepare_context
.. container:: doc_source
.. _cn_api_imperative_cn_save:
save
-------------------------------
:doc_source: paddle.fluid.dygraph.checkpoint.save_dygraph
paddle.fluid.dygraph.checkpoint.save_dygraph
.. container:: doc_source
.. _cn_api_imperative_cn_to_variable:
to_variable
-------------------------------
:doc_source: paddle.fluid.dygraph.base.to_variable
paddle.fluid.dygraph.base.to_variable
......@@ -2,27 +2,208 @@
API Reference
=============
飞桨2.0概述
-----------
在保持1.x版本工业级大规模高效训练和多平台快速部署优势的前提,飞桨2.0版本重点提升了框架的易用性,主要在用户交互层进行了优化,降低学习门槛,提升开发效率。不管对于初学者还是资深专家,都能够更容易地使用飞桨进行深度学习任务开发,加速前沿算法研究和工业级任务开发。
此版本为测试版,还在迭代开发中,目前还没有稳定,后续API会根据反馈有可能进行不兼容的升级。对于想要体验飞桨最新特性的开发者,欢迎试用此版本;对稳定性要求高的工业级应用场景推荐使用Paddle
1.8稳定版本。此版本主推命令式(imperative)开发模式,并提供了高层API的封装。命令式开发模式具有很好的灵活性,高层API可以大幅减少重复代码。对于初学者或基础的任务场景,推荐使用高层API的开发方式,简单易用;对于资深开发者想要实现复杂的功能,推荐使用动态图的API,灵活高效。
1.x版本对比,飞桨2.0版本的重要升级如下:
+------------+--------------------------------------+-----------------------------------------+
| | 飞桨1.x版本 | 飞桨2.0版本 |
+============+======================================+=========================================+
| 开发模式 | 推荐声明式(declarative) | 推荐命令式(imperative) |
+------------+--------------------------------------+-----------------------------------------+
| 组网方式 | 推荐函数式组网 | 推荐面向对象式组网 |
+------------+--------------------------------------+-----------------------------------------+
| 高层API | | 封装常见的操作,实现低代码开发 |
+------------+--------------------------------------+-----------------------------------------+
| 基础API | fluid目录,结构不清晰,存在过时API | paddle目录,整体结构调整,清理废弃API |
+------------+--------------------------------------+-----------------------------------------+
开发模式
--------
飞桨同时支持声明式和命令式这两种开发模式,兼具声明式编程的高效和命令式编程的灵活。
声明式编程模式(通常也被称为静态模式或define-and-run模式),程序可以明确分为网络结构定义和执行这两个阶段。定义阶段声明网络结构,此时并未传入具体的训练数据;执行阶段需要用户通过feed的方式传入具体数据,完成计算后,通过fetch的方式返回计算结果。示例如下:
.. code:: python
import numpy
import paddle
# 定义输入数据占位符
a = paddle.nn.data(name="a", shape=[1], dtype='int64')
b = paddle.nn.data(name="b", shape=[1], dtype='int64')
# 组建网络(此处网络仅由一个操作构成,即elementwise_add
result = paddle.elementwise_add(a, b)
# 准备运行网络
cpu = paddle.CPUPlace() # 定义运算设备,这里选择在CPU下训练
exe = paddle.Executor(cpu) # 创建执行器
# 创建输入数据
x = numpy.array([2])
y = numpy.array([3])
# 运行网络
outs = exe.run(
feed={'a':x, 'b':y}, # 将输入数据x, y分别赋值给变量ab
fetch_list=[result] # 通过fetch_list参数指定需要获取的变量结果
)
#输出运行结果
print (outs)
#[array([5], dtype=int64)]
声明式开发模式的优点为在程序执行之前,可以拿到全局的组网信息,方便对计算图进行全局的优化,提升性能;并且由于全局计算图的存在,方便将计算图导出到文件,方便部署到非python语言的开发环境中,比如:C/C++/JavaScript等。声明式开发模式的缺点为,由于网络定义和执行阶段分离,在定义的时候并不知道所执行的具体的数据,程序的开发和调试会比较困难。
命令式编程模式(通常也被称为动态模式、eager模式或define-by-run模式),程序在网络结构定义的同时立即执行,能够实时的到执行结果。示例如下:
.. code:: python
import numpy
import paddle
from paddle.imperative import to_variable
# 切换命令式编程模式
paddle.enable_imperative()
# 创建数据
x = to_variable(numpy.array([2]))
y = to_variable(numpy.array([3]))
# 定义运算并执行
z = paddle.elementwise_add(x, y)
# 输出执行结果
print (z.numpy())
飞桨2.0推荐开发者使用命令式编程,可以使用原生python控制流API,具有灵活,容易开发调试的优点;同时为了兼具声明式编程在性能和部署方面的优势,飞桨提供了自动转换功能,可以将包含python控制流的代码,转换为Program,通过底层的Executor进行执行。
组网方式
--------
飞桨1.x大量使用函数式的组网方式,这种方法的好处是写法很简洁,但表达能力偏弱,比如:如果我们想要查看fc隐含的参数的值或者想要对某一个参数进行裁剪时,会很困难,我们需要操作隐含的参数名才能访问。比如:
.. code:: python
import paddle.fluid as fluid
data = fluid.layers.data(name="data", shape=[32, 32], dtype="float32")
fc = fluid.layers.fc(input=data, size=1000, act="tanh")
飞桨2.0推荐使用面向对象式的组网方式,需要通过继承\ ``paddle.nn.Layer``\ 类的\ ``__init__``\ \ ``forward``\ 函数实现网络结构自定义,这种方式通过类的成员变量,方便地访问到每个类的成员,比如:
.. code:: python
import paddle
class SimpleNet(paddle.nn.Layer):
def __init__(self, in_size, out_size):
super(SimpleNet, self).__init__()
self._linear = paddle.nn.Linear(in_size, out_size)
def forward(self, x):
y = self._linear(x)
return y
高层API
-------
使用飞桨进行深度学习任务的开发,整体过程包括数据处理、组网、训练、评估、模型导出、预测部署这些基本的操作。这些基本操作在不同的任务中会反复出现,使用基础API进行开发时,需要开发者重复地写这些基础操作的代码,增加了模型开发的工作量。高层API针对这些基础操作进行了封装,提供更高层的开发接口,开发者只需要关心数据处理和自定义组网,其他工作可以通过调用高层API来完成。在MNIST手写数字识别任务中,对比动态图基础API的实现方式,通过使用高层API可以减少80%的非组网类代码。
使用高层API的另外一个好处是,可以通过一行代码\ ``paddle.enable_imperative``\ ,切换命令式编程模式和声明式编程模式。在开发阶段,可以使用的命令式编程模式,方便调试;开发完成后,可以切换到声明式编程模式,加速训练和方便部署。兼具了命令式编程实时执行,容易调试的优点,以及声明式编程全局优化和容易部署的优点。
以下为高层API的一个基础示例
.. code:: python
import numpy as np
import paddle
import paddle.nn.functional as F
from paddle.incubate.hapi.model import Model, Input, Loss
from paddle.incubate.hapi.loss import CrossEntropy
#高层API的组网方式需要继承ModelModel类实现了模型执行所需的逻辑
class SimpleNet(Model):
def __init__(self, in_size, out_size):
super(SimpleNet, self).__init__()
self._linear = paddle.nn.Linear(in_size, out_size)
def forward(self, x):
y = self._linear(x)
z = self._linear(y)
pred = F.softmax(z)
return pred
#兼容声明式开发模式,定义数据形状类型,如果不使用声明式编程模式,可以不定义数据占位符
inputs = [Input([None, 8], 'float32', name='image')]
labels = [Input([None, 1], 'int64', name='labels')]
#定义模型网络结构,包括指定损失函数和优化算法
model = SimpleNet(8, 8)
optimizer = paddle.optimizer.AdamOptimizer(learning_rate=0.1, parameter_list=model.parameters())
model.prepare(optimizer, CrossEntropy(), None, inputs, labels, device='cpu')
#切换执行模式
paddle.enable_imperative(paddle.CPUPlace())
#基于batch的训练
batch_num = 10
x = np.random.random((4, 8)).astype('float32')
y = np.random.randint(0, 8, (4, 1)).astype('int64')
for i in range(batch_num):
model.train_batch(inputs=x, labels=y)
更多高层API开发的模型和示例请参考github Repo:
`hapi <https://github.com/paddlepaddle/hapi>`__
基础API
-------
飞桨2.0提供了新的API,可以同时支持声明式和命令式两种开发模式,比如paddle.nn.Linear,避免在两种模式下使用不同的API造成困惑。原飞桨1.xAPI位于paddle.fluid目录下,其中部分组网类的API,只能用于声明式开发,比如:fluid.layers.fc,无法用于命令式开发。
飞桨2.0API的目录结构进行了调整,从原来的paddle.fluid目录调整到paddle目录下,使得开发接口更加清晰,调整后的目录结构如下:
+---------------------+-----------------------------------------------------------------------------------------------------------+
| 目录 | 功能和包含API |
+=====================+===========================================================================================================+
| paddle.\* | paddle根目录下保留了常用API的别名,当前包括:paddle.tensor, paddle.framework目录下的所有API |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.tensor | tensor操作相关的API,比如:创建zeros, 矩阵运算matmul, 变换concat, 计算elementwise\_add, 查找argmax |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.nn | 跟组网相关的API,比如:输入占位符data/Input,控制流while\_loop/cond,损失函数,卷积,LSTM等,激活函数等 |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.framework | 基础框架相关的API,比如:Variable, Program, Executor |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.imperative | imprerative模式专用的API,比如:to\_variable, prepare\_context |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.optimizer | 优化算法相关API,比如:SGDAdagrad, Adam |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.metric | 评估指标计算相关的API,比如:accuracy, cos\_sim |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.io | 数据输入输出相关API,比如:save, load, Dataset, DataLoader |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.device | 设备管理相关API,比如:CPUPlace CUDAPlace |
+---------------------+-----------------------------------------------------------------------------------------------------------+
| paddle.fleet | 分布式相关API |
+---------------------+-----------------------------------------------------------------------------------------------------------+
同时飞桨2.0对部分Paddle
1.x版本的API进行了清理,删除了部分不再推荐使用的API,具体信息请参考Release
Note
.. toctree::
:maxdepth: 1
../api_guides/index_cn.rst
framework_cn.rst
incubate_cn.rst
nn_cn.rst
tensor_cn.rst
fluid_cn.rst
backward_cn.rst
clip_cn.rst
paddle_cn.rst
dataset_cn.rst
dygraph_cn.rst
executor_cn.rst
initializer_cn.rst
io_cn.rst
layers_cn.rst
metrics_cn.rst
nets_cn.rst
tensor_cn.rst
nn_cn.rst
imperative_cn.rst
declarative_cn.rst
optimizer_cn.rst
profiler_cn.rst
regularizer_cn.rst
transpiler_cn.rst
unique_name_cn.rst
metric_cn.rst
framework_cn.rst
io_cn.rst
utils_cn.rst
incubate_cn.rst
=======================
fluid.io
paddle.io
=======================
......@@ -10,12 +10,15 @@ fluid.io
:maxdepth: 1
io_cn/batch_cn.rst
io_cn/BatchSampler_cn.rst
io_cn/buffered_cn.rst
io_cn/cache_cn.rst
io_cn/chain_cn.rst
io_cn/compose_cn.rst
io_cn/ComposeNotAligned_cn.rst
io_cn/DataLoader_cn.rst
io_cn/DataLoader_cn.rst
io_cn/DataLoader_cn.rst
io_cn/Dataset_cn.rst
io_cn/firstn_cn.rst
io_cn/get_program_parameter_cn.rst
io_cn/get_program_persistable_vars_cn.rst
......@@ -36,15 +39,3 @@ fluid.io
io_cn/set_program_state_cn.rst
io_cn/shuffle_cn.rst
io_cn/xmap_readers_cn.rst
io_cn/BatchSampler_cn.rst
io_cn/batch_cn.rst
io_cn/DataLoader_cn.rst
io_cn/Dataset_cn.rst
io_cn/load_cn.rst
io_cn/load_inference_model_cn.rst
io_cn/load_program_state_cn.rst
io_cn/save_cn.rst
io_cn/save_inference_model_cn.rst
io_cn/set_program_state_cn.rst
io_cn/shuffle_cn.rst
.. container:: doc_source
.. _cn_api_io_cn_BatchSampler:
BatchSampler
-------------------------------
:doc_source: paddle.fluid.dataloader.BatchSampler
paddle.fluid.dataloader.BatchSampler
.. container:: doc_source
.. _cn_api_io_cn_Dataset:
Dataset
-------------------------------
:doc_source: paddle.fluid.dataloader.Dataset
paddle.fluid.dataloader.Dataset
......@@ -5,17 +5,16 @@ paddle.metric
.. toctree::
:maxdepth: 1
metric_cn/Accuracy_cn.rst
metric_cn/accuracy_cn.rst
metric_cn/Auc_cn.rst
metric_cn/auc_cn.rst
metric_cn/ChunkEvaluator_cn.rst
metric_cn/chunk_eval_cn.rst
metric_cn/CompositeMetric_cn.rst
metric_cn/cos_sim_cn.rst
metric_cn/DetectionMAP_cn.rst
metric_cn/EditDistance_cn.rst
metric_cn/mean_iou_cn.rst
metric_cn/Precision_cn.rst
metric_cn/Recall_cn.rst
metric_cn/Accuracy_cn.rst
metric_cn/accuracy_cn.rst
metric_cn/Auc_cn.rst
metric_cn/auc_cn.rst
metric_cn/chunk_eval_cn.rst
metric_cn/ChunkEvaluator_cn.rst
metric_cn/CompositeMetric_cn.rst
metric_cn/cos_sim_cn.rst
metric_cn/DetectionMAP_cn.rst
metric_cn/EditDistance_cn.rst
metric_cn/mean_iou_cn.rst
metric_cn/Precision_cn.rst
metric_cn/Recall_cn.rst
.. container:: doc_source
.. _cn_api_metric_cn_ChunkEvaluator:
ChunkEvaluator
-------------------------------
:doc_source: paddle.fluid.metrics.ChunkEvaluator
paddle.fluid.metrics.ChunkEvaluator
.. container:: doc_source
.. _cn_api_metric_cn_CompositeMetric:
CompositeMetric
-------------------------------
:doc_source: paddle.fluid.metrics.CompositeMetric
paddle.fluid.metrics.CompositeMetric
.. container:: doc_source
.. _cn_api_metric_cn_DetectionMAP:
DetectionMAP
-------------------------------
:doc_source: paddle.fluid.metrics.DetectionMAP
paddle.fluid.metrics.DetectionMAP
.. container:: doc_source
.. _cn_api_metric_cn_EditDistance:
EditDistance
-------------------------------
:doc_source: paddle.fluid.metrics.EditDistance
paddle.fluid.metrics.EditDistance
.. container:: doc_source
.. _cn_api_metric_cn_Precision:
Precision
-------------------------------
:doc_source: paddle.fluid.metrics.Precision
paddle.fluid.metrics.Precision
.. container:: doc_source
.. _cn_api_metric_cn_Recall:
Recall
-------------------------------
:doc_source: paddle.fluid.metrics.Recall
paddle.fluid.metrics.Recall
.. container:: doc_source
.. _cn_api_metric_cn_accuracy:
accuracy
-------------------------------
:doc_source: paddle.fluid.layers.metric_op.accuracy
paddle.fluid.layers.metric_op.accuracy
.. container:: doc_source
.. _cn_api_metric_cn_auc:
auc
-------------------------------
:doc_source: paddle.fluid.layers.metric_op.auc
paddle.fluid.layers.metric_op.auc
.. container:: doc_source
.. _cn_api_metric_cn_chunk_eval:
chunk_eval
-------------------------------
:doc_source: paddle.fluid.layers.nn.chunk_eval
paddle.fluid.layers.nn.chunk_eval
.. container:: doc_source
.. _cn_api_metric_cn_cos_sim:
cos_sim
-------------------------------
:doc_source: paddle.fluid.layers.nn.cos_sim
paddle.fluid.layers.nn.cos_sim
.. container:: doc_source
.. _cn_api_metric_cn_mean_iou:
mean_iou
-------------------------------
:doc_source: paddle.fluid.layers.nn.mean_iou
paddle.fluid.layers.nn.mean_iou
......@@ -18,145 +18,145 @@ paddle.nn
nn_cn/Upsample_cn.rst
nn_cn/activation_cn.rst
nn_cn/loss_cn.rst
nn_cn/adaptive_pool2d_cn.rst
nn_cn/adaptive_pool3d_cn.rst
nn_cn/add_position_encoding_cn.rst
nn_cn/affine_channel_cn.rst
nn_cn/affine_grid_cn.rst
nn_cn/anchor_generator_cn.rst
nn_cn/assign_cn.rst
nn_cn/BatchNorm_cn.rst
nn_cn/beam_search_cn.rst
nn_cn/beam_search_decode_cn.rst
nn_cn/BilinearTensorProduct_cn.rst
nn_cn/bipartite_match_cn.rst
nn_cn/box_clip_cn.rst
nn_cn/box_coder_cn.rst
nn_cn/box_decoder_and_assign_cn.rst
nn_cn/bpr_loss_cn.rst
nn_cn/brelu_cn.rst
nn_cn/case_cn.rst
nn_cn/center_loss_cn.rst
nn_cn/clip_by_norm_cn.rst
nn_cn/clip_cn.rst
nn_cn/collect_fpn_proposals_cn.rst
nn_cn/cond_cn.rst
nn_cn/continuous_value_model_cn.rst
nn_cn/conv2d_cn.rst
nn_cn/conv2d_transpose_cn.rst
nn_cn/conv3d_cn.rst
nn_cn/conv3d_transpose_cn.rst
nn_cn/cosine_decay_cn.rst
nn_cn/cross_entropy_cn.rst
nn_cn/data_cn.rst
nn_cn/deformable_roi_pooling_cn.rst
nn_cn/density_prior_box_cn.rst
nn_cn/detection_output_cn.rst
nn_cn/dice_loss_cn.rst
nn_cn/distribute_fpn_proposals_cn.rst
nn_cn/dropout_cn.rst
nn_cn/edit_distance_cn.rst
nn_cn/elu_cn.rst
nn_cn/Embedding_cn.rst
nn_cn/erf_cn.rst
nn_cn/exponential_decay_cn.rst
nn_cn/filter_by_instag_cn.rst
nn_cn/fsp_matrix_cn.rst
nn_cn/gather_tree_cn.rst
nn_cn/gelu_cn.rst
nn_cn/generate_mask_labels_cn.rst
nn_cn/generate_proposals_cn.rst
nn_cn/generate_proposal_labels_cn.rst
nn_cn/GradientClipByGlobalNorm_cn.rst
nn_cn/GradientClipByNorm_cn.rst
nn_cn/GradientClipByValue_cn.rst
nn_cn/grid_sampler_cn.rst
nn_cn/GroupNorm_cn.rst
nn_cn/hard_shrink_cn.rst
nn_cn/hard_sigmoid_cn.rst
nn_cn/hard_swish_cn.rst
nn_cn/hash_cn.rst
nn_cn/hsigmoid_cn.rst
nn_cn/huber_loss_cn.rst
nn_cn/image_resize_cn.rst
nn_cn/image_resize_short_cn.rst
nn_cn/inverse_time_decay_cn.rst
nn_cn/iou_similarity_cn.rst
nn_cn/kldiv_loss_cn.rst
nn_cn/l2_normalize_cn.rst
nn_cn/label_smooth_cn.rst
nn_cn/LayerList_cn.rst
nn_cn/LayerNorm_cn.rst
nn_cn/Layer_cn.rst
nn_cn/leaky_relu_cn.rst
nn_cn/Linear_cn.rst
nn_cn/linear_lr_warmup_cn.rst
nn_cn/logsigmoid_cn.rst
nn_cn/log_loss_cn.rst
nn_cn/lrn_cn.rst
nn_cn/margin_rank_loss_cn.rst
nn_cn/maxout_cn.rst
nn_cn/mse_loss_cn.rst
nn_cn/multiclass_nms_cn.rst
nn_cn/natural_exp_decay_cn.rst
nn_cn/noam_decay_cn.rst
nn_cn/npair_loss_cn.rst
nn_cn/one_hot_cn.rst
nn_cn/pad2d_cn.rst
nn_cn/pad_cn.rst
nn_cn/pad_constant_like_cn.rst
nn_cn/ParameterList_cn.rst
nn_cn/piecewise_decay_cn.rst
nn_cn/pixel_shuffle_cn.rst
nn_cn/polygon_box_transform_cn.rst
nn_cn/polynomial_decay_cn.rst
nn_cn/pool2d_cn.rst
nn_cn/Pool2D_cn.rst
nn_cn/pool3d_cn.rst
nn_cn/prior_box_cn.rst
nn_cn/prroi_pool_cn.rst
nn_cn/psroi_pool_cn.rst
nn_cn/random_crop_cn.rst
nn_cn/rank_loss_cn.rst
nn_cn/relu6_cn.rst
nn_cn/ReLU_cn.rst
nn_cn/resize_bilinear_cn.rst
nn_cn/resize_nearest_cn.rst
nn_cn/resize_trilinear_cn.rst
nn_cn/retinanet_detection_output_cn.rst
nn_cn/retinanet_target_assign_cn.rst
nn_cn/roi_align_cn.rst
nn_cn/roi_perspective_transform_cn.rst
nn_cn/roi_pool_cn.rst
nn_cn/row_conv_cn.rst
nn_cn/rpn_target_assign_cn.rst
nn_cn/sampled_softmax_with_cross_entropy_cn.rst
nn_cn/selu_cn.rst
nn_cn/Sequential_cn.rst
nn_cn/shuffle_channel_cn.rst
nn_cn/sigmoid_cross_entropy_with_logits_cn.rst
nn_cn/sigmoid_focal_loss_cn.rst
nn_cn/similarity_focus_cn.rst
nn_cn/smooth_l1_cn.rst
nn_cn/softmax_cn.rst
nn_cn/softmax_with_cross_entropy_cn.rst
nn_cn/softplus_cn.rst
nn_cn/softshrink_cn.rst
nn_cn/softsign_cn.rst
nn_cn/soft_relu_cn.rst
nn_cn/space_to_depth_cn.rst
nn_cn/SpectralNorm_cn.rst
nn_cn/square_error_cost_cn.rst
nn_cn/ssd_loss_cn.rst
nn_cn/swish_cn.rst
nn_cn/switch_case_cn.rst
nn_cn/tanh_shrink_cn.rst
nn_cn/target_assign_cn.rst
nn_cn/teacher_student_sigmoid_loss_cn.rst
nn_cn/temporal_shift_cn.rst
nn_cn/thresholded_relu_cn.rst
nn_cn/unfold_cn.rst
nn_cn/warpctc_cn.rst
nn_cn/while_loop_cn.rst
nn_cn/yolov3_loss_cn.rst
nn_cn/yolo_box_cn.rst
nn_cn/adaptive_pool2d_cn.rst
nn_cn/adaptive_pool3d_cn.rst
nn_cn/add_position_encoding_cn.rst
nn_cn/affine_channel_cn.rst
nn_cn/affine_grid_cn.rst
nn_cn/anchor_generator_cn.rst
nn_cn/assign_cn.rst
nn_cn/BatchNorm_cn.rst
nn_cn/beam_search_cn.rst
nn_cn/beam_search_decode_cn.rst
nn_cn/BilinearTensorProduct_cn.rst
nn_cn/bipartite_match_cn.rst
nn_cn/box_clip_cn.rst
nn_cn/box_coder_cn.rst
nn_cn/box_decoder_and_assign_cn.rst
nn_cn/bpr_loss_cn.rst
nn_cn/brelu_cn.rst
nn_cn/case_cn.rst
nn_cn/center_loss_cn.rst
nn_cn/clip_by_norm_cn.rst
nn_cn/clip_cn.rst
nn_cn/collect_fpn_proposals_cn.rst
nn_cn/cond_cn.rst
nn_cn/continuous_value_model_cn.rst
nn_cn/conv2d_cn.rst
nn_cn/conv2d_transpose_cn.rst
nn_cn/conv3d_cn.rst
nn_cn/conv3d_transpose_cn.rst
nn_cn/cosine_decay_cn.rst
nn_cn/cross_entropy_cn.rst
nn_cn/data_cn.rst
nn_cn/deformable_roi_pooling_cn.rst
nn_cn/density_prior_box_cn.rst
nn_cn/detection_output_cn.rst
nn_cn/dice_loss_cn.rst
nn_cn/distribute_fpn_proposals_cn.rst
nn_cn/dropout_cn.rst
nn_cn/edit_distance_cn.rst
nn_cn/elu_cn.rst
nn_cn/Embedding_cn.rst
nn_cn/erf_cn.rst
nn_cn/exponential_decay_cn.rst
nn_cn/filter_by_instag_cn.rst
nn_cn/fsp_matrix_cn.rst
nn_cn/gather_tree_cn.rst
nn_cn/gelu_cn.rst
nn_cn/generate_mask_labels_cn.rst
nn_cn/generate_proposals_cn.rst
nn_cn/generate_proposal_labels_cn.rst
nn_cn/GradientClipByGlobalNorm_cn.rst
nn_cn/GradientClipByNorm_cn.rst
nn_cn/GradientClipByValue_cn.rst
nn_cn/grid_sampler_cn.rst
nn_cn/GroupNorm_cn.rst
nn_cn/hard_shrink_cn.rst
nn_cn/hard_sigmoid_cn.rst
nn_cn/hard_swish_cn.rst
nn_cn/hash_cn.rst
nn_cn/hsigmoid_cn.rst
nn_cn/huber_loss_cn.rst
nn_cn/image_resize_cn.rst
nn_cn/image_resize_short_cn.rst
nn_cn/inverse_time_decay_cn.rst
nn_cn/iou_similarity_cn.rst
nn_cn/kldiv_loss_cn.rst
nn_cn/l2_normalize_cn.rst
nn_cn/label_smooth_cn.rst
nn_cn/LayerList_cn.rst
nn_cn/LayerNorm_cn.rst
nn_cn/Layer_cn.rst
nn_cn/leaky_relu_cn.rst
nn_cn/Linear_cn.rst
nn_cn/linear_lr_warmup_cn.rst
nn_cn/logsigmoid_cn.rst
nn_cn/log_loss_cn.rst
nn_cn/lrn_cn.rst
nn_cn/margin_rank_loss_cn.rst
nn_cn/maxout_cn.rst
nn_cn/mse_loss_cn.rst
nn_cn/multiclass_nms_cn.rst
nn_cn/natural_exp_decay_cn.rst
nn_cn/noam_decay_cn.rst
nn_cn/npair_loss_cn.rst
nn_cn/one_hot_cn.rst
nn_cn/pad2d_cn.rst
nn_cn/pad_cn.rst
nn_cn/pad_constant_like_cn.rst
nn_cn/ParameterList_cn.rst
nn_cn/piecewise_decay_cn.rst
nn_cn/pixel_shuffle_cn.rst
nn_cn/polygon_box_transform_cn.rst
nn_cn/polynomial_decay_cn.rst
nn_cn/pool2d_cn.rst
nn_cn/Pool2D_cn.rst
nn_cn/pool3d_cn.rst
nn_cn/prior_box_cn.rst
nn_cn/prroi_pool_cn.rst
nn_cn/psroi_pool_cn.rst
nn_cn/random_crop_cn.rst
nn_cn/rank_loss_cn.rst
nn_cn/relu6_cn.rst
nn_cn/relu_cn.rst
nn_cn/resize_bilinear_cn.rst
nn_cn/resize_nearest_cn.rst
nn_cn/resize_trilinear_cn.rst
nn_cn/retinanet_detection_output_cn.rst
nn_cn/retinanet_target_assign_cn.rst
nn_cn/roi_align_cn.rst
nn_cn/roi_perspective_transform_cn.rst
nn_cn/roi_pool_cn.rst
nn_cn/row_conv_cn.rst
nn_cn/rpn_target_assign_cn.rst
nn_cn/sampled_softmax_with_cross_entropy_cn.rst
nn_cn/selu_cn.rst
nn_cn/Sequential_cn.rst
nn_cn/shuffle_channel_cn.rst
nn_cn/sigmoid_cross_entropy_with_logits_cn.rst
nn_cn/sigmoid_focal_loss_cn.rst
nn_cn/similarity_focus_cn.rst
nn_cn/smooth_l1_cn.rst
nn_cn/softmax_cn.rst
nn_cn/softmax_with_cross_entropy_cn.rst
nn_cn/softplus_cn.rst
nn_cn/softshrink_cn.rst
nn_cn/softsign_cn.rst
nn_cn/soft_relu_cn.rst
nn_cn/space_to_depth_cn.rst
nn_cn/SpectralNorm_cn.rst
nn_cn/square_error_cost_cn.rst
nn_cn/ssd_loss_cn.rst
nn_cn/swish_cn.rst
nn_cn/switch_case_cn.rst
nn_cn/tanh_shrink_cn.rst
nn_cn/target_assign_cn.rst
nn_cn/teacher_student_sigmoid_loss_cn.rst
nn_cn/temporal_shift_cn.rst
nn_cn/thresholded_relu_cn.rst
nn_cn/unfold_cn.rst
nn_cn/warpctc_cn.rst
nn_cn/while_loop_cn.rst
nn_cn/yolov3_loss_cn.rst
nn_cn/yolo_box_cn.rst
.. container:: doc_source
.. _cn_api_nn_cn_BatchNorm:
BatchNorm
-------------------------------
:doc_source: paddle.fluid.dygraph.BatchNorm
paddle.fluid.dygraph.BatchNorm
.. container:: doc_source
.. _cn_api_nn_cn_BilinearTensorProduct:
BilinearTensorProduct
-------------------------------
:doc_source: paddle.fluid.dygraph.BilinearTensorProduct
paddle.fluid.dygraph.BilinearTensorProduct
.. container:: doc_source
.. _cn_api_nn_cn_Embedding:
Embedding
-------------------------------
:doc_source: paddle.fluid.dygraph.Embedding
paddle.fluid.dygraph.Embedding
.. container:: doc_source
.. _cn_api_nn_cn_GradientClipByGlobalNorm:
GradientClipByGlobalNorm
-------------------------------
:doc_source: paddle.fluid.clip.GradientClipByGlobalNorm
paddle.fluid.clip.GradientClipByGlobalNorm
.. container:: doc_source
.. _cn_api_nn_cn_GradientClipByNorm:
GradientClipByNorm
-------------------------------
:doc_source: paddle.fluid.clip.GradientClipByNorm
paddle.fluid.clip.GradientClipByNorm
.. container:: doc_source
.. _cn_api_nn_cn_GradientClipByValue:
GradientClipByValue
-------------------------------
:doc_source: paddle.fluid.clip.GradientClipByValue
paddle.fluid.clip.GradientClipByValue
.. container:: doc_source
.. _cn_api_nn_cn_GroupNorm:
GroupNorm
-------------------------------
:doc_source: paddle.fluid.dygraph.GroupNorm
paddle.fluid.dygraph.GroupNorm
.. container:: doc_source
.. _cn_api_nn_cn_LayerList:
LayerList
-------------------------------
:doc_source: paddle.fluid.dygraph.container.LayerList
paddle.fluid.dygraph.container.LayerList
.. container:: doc_source
.. _cn_api_nn_cn_LayerNorm:
LayerNorm
-------------------------------
:doc_source: paddle.fluid.dygraph.LayerNorm
paddle.fluid.dygraph.LayerNorm
.. container:: doc_source
.. _cn_api_nn_cn_Layer:
Layer
-------------------------------
:doc_source: paddle.fluid.dygraph.layers.Layer
paddle.fluid.dygraph.layers.Layer
.. container:: doc_source
.. _cn_api_nn_cn_ParameterList:
ParameterList
-------------------------------
:doc_source: paddle.fluid.dygraph.container.ParameterList
paddle.fluid.dygraph.container.ParameterList
.. container:: doc_source
.. _cn_api_nn_cn_Pool2D:
Pool2D
-------------------------------
:doc_source: paddle.fluid.dygraph.Pool2D
paddle.fluid.dygraph.Pool2D
.. container:: doc_source
.. _cn_api_nn_cn_Sequential:
Sequential
-------------------------------
:doc_source: paddle.fluid.dygraph.container.Sequential
paddle.fluid.dygraph.container.Sequential
.. container:: doc_source
.. _cn_api_nn_cn_SpectralNorm:
SpectralNorm
-------------------------------
:doc_source: paddle.fluid.dygraph.SpectralNorm
paddle.fluid.dygraph.SpectralNorm
.. container:: doc_source
.. _cn_api_nn_cn_adaptive_pool2d:
adaptive_pool2d
-------------------------------
:doc_source: paddle.fluid.layers.adaptive_pool2d
paddle.fluid.layers.adaptive_pool2d
.. container:: doc_source
.. _cn_api_nn_cn_adaptive_pool3d:
adaptive_pool3d
-------------------------------
:doc_source: paddle.fluid.layers.adaptive_pool3d
paddle.fluid.layers.adaptive_pool3d
.. container:: doc_source
.. _cn_api_nn_cn_add_position_encoding:
add_position_encoding
-------------------------------
:doc_source: paddle.fluid.layers.add_position_encoding
paddle.fluid.layers.add_position_encoding
.. container:: doc_source
.. _cn_api_nn_cn_affine_channel:
affine_channel
-------------------------------
:doc_source: paddle.fluid.layers.affine_channel
paddle.fluid.layers.affine_channel
.. container:: doc_source
.. _cn_api_nn_cn_affine_grid:
affine_grid
-------------------------------
:doc_source: paddle.fluid.layers.affine_grid
paddle.fluid.layers.affine_grid
.. container:: doc_source
.. _cn_api_nn_cn_anchor_generator:
anchor_generator
-------------------------------
:doc_source: paddle.fluid.layers.anchor_generator
paddle.fluid.layers.anchor_generator
.. container:: doc_source
.. _cn_api_nn_cn_assign:
assign
-------------------------------
:doc_source: paddle.fluid.layers.assign
paddle.fluid.layers.assign
.. container:: doc_source
.. _cn_api_nn_cn_beam_search:
beam_search
-------------------------------
:doc_source: paddle.fluid.layers.beam_search
paddle.fluid.layers.beam_search
.. container:: doc_source
.. _cn_api_nn_cn_beam_search_decode:
beam_search_decode
-------------------------------
:doc_source: paddle.fluid.layers.beam_search_decode
paddle.fluid.layers.beam_search_decode
.. container:: doc_source
.. _cn_api_nn_cn_bipartite_match:
bipartite_match
-------------------------------
:doc_source: paddle.fluid.layers.bipartite_match
paddle.fluid.layers.bipartite_match
.. container:: doc_source
.. _cn_api_nn_cn_box_clip:
box_clip
-------------------------------
:doc_source: paddle.fluid.layers.box_clip
paddle.fluid.layers.box_clip
.. container:: doc_source
.. _cn_api_nn_cn_box_coder:
box_coder
-------------------------------
:doc_source: paddle.fluid.layers.box_coder
paddle.fluid.layers.box_coder
.. container:: doc_source
.. _cn_api_nn_cn_box_decoder_and_assign:
box_decoder_and_assign
-------------------------------
:doc_source: paddle.fluid.layers.box_decoder_and_assign
paddle.fluid.layers.box_decoder_and_assign
.. container:: doc_source
.. _cn_api_nn_cn_bpr_loss:
bpr_loss
-------------------------------
:doc_source: paddle.fluid.layers.bpr_loss
paddle.fluid.layers.bpr_loss
.. container:: doc_source
.. _cn_api_nn_cn_brelu:
brelu
-------------------------------
:doc_source: paddle.fluid.layers.brelu
paddle.fluid.layers.brelu
.. container:: doc_source
.. _cn_api_nn_cn_case:
case
-------------------------------
:doc_source: paddle.fluid.layers.case
paddle.fluid.layers.case
.. container:: doc_source
.. _cn_api_nn_cn_center_loss:
center_loss
-------------------------------
:doc_source: paddle.fluid.layers.center_loss
paddle.fluid.layers.center_loss
.. container:: doc_source
.. _cn_api_nn_cn_clip_by_norm:
clip_by_norm
-------------------------------
:doc_source: paddle.fluid.layers.clip_by_norm
paddle.fluid.layers.clip_by_norm
.. container:: doc_source
.. _cn_api_nn_cn_clip:
clip
-------------------------------
:doc_source: paddle.fluid.layers.clip
paddle.fluid.layers.clip
.. container:: doc_source
.. _cn_api_nn_cn_collect_fpn_proposals:
collect_fpn_proposals
-------------------------------
:doc_source: paddle.fluid.layers.collect_fpn_proposals
paddle.fluid.layers.collect_fpn_proposals
.. container:: doc_source
.. _cn_api_nn_cn_cond:
cond
-------------------------------
:doc_source: paddle.fluid.layers.cond
paddle.fluid.layers.cond
.. container:: doc_source
.. _cn_api_nn_cn_continuous_value_model:
continuous_value_model
-------------------------------
:doc_source: paddle.fluid.layers.continuous_value_model
paddle.fluid.layers.continuous_value_model
.. container:: doc_source
.. _cn_api_nn_cn_conv2d_transpose:
conv2d_transpose
-------------------------------
:doc_source: paddle.fluid.layers.conv2d_transpose
paddle.fluid.layers.conv2d_transpose
.. container:: doc_source
.. _cn_api_nn_cn_conv3d:
conv3d
-------------------------------
:doc_source: paddle.fluid.layers.conv3d
paddle.fluid.layers.conv3d
.. container:: doc_source
.. _cn_api_nn_cn_conv3d_transpose:
conv3d_transpose
-------------------------------
:doc_source: paddle.fluid.layers.conv3d_transpose
paddle.fluid.layers.conv3d_transpose
.. container:: doc_source
.. _cn_api_nn_cn_cosine_decay:
cosine_decay
-------------------------------
:doc_source: paddle.fluid.layers.cosine_decay
paddle.fluid.layers.cosine_decay
.. container:: doc_source
.. _cn_api_nn_cn_cross_entropy:
cross_entropy
-------------------------------
:doc_source: paddle.fluid.layers.cross_entropy
paddle.fluid.layers.cross_entropy
.. container:: doc_source
.. _cn_api_nn_cn_data:
data
-------------------------------
:doc_source: paddle.fluid.data
paddle.fluid.data
.. container:: doc_source
.. _cn_api_nn_cn_deformable_roi_pooling:
deformable_roi_pooling
-------------------------------
:doc_source: paddle.fluid.layers.deformable_roi_pooling
paddle.fluid.layers.deformable_roi_pooling
.. container:: doc_source
.. _cn_api_nn_cn_density_prior_box:
density_prior_box
-------------------------------
:doc_source: paddle.fluid.layers.density_prior_box
paddle.fluid.layers.density_prior_box
.. container:: doc_source
.. _cn_api_nn_cn_detection_output:
detection_output
-------------------------------
:doc_source: paddle.fluid.layers.detection_output
paddle.fluid.layers.detection_output
.. container:: doc_source
.. _cn_api_nn_cn_dice_loss:
dice_loss
-------------------------------
:doc_source: paddle.fluid.layers.dice_loss
paddle.fluid.layers.dice_loss
.. container:: doc_source
.. _cn_api_nn_cn_distribute_fpn_proposals:
distribute_fpn_proposals
-------------------------------
:doc_source: paddle.fluid.layers.distribute_fpn_proposals
paddle.fluid.layers.distribute_fpn_proposals
.. container:: doc_source
.. _cn_api_nn_cn_dropout:
dropout
-------------------------------
:doc_source: paddle.fluid.layers.dropout
paddle.fluid.layers.dropout
.. container:: doc_source
.. _cn_api_nn_cn_edit_distance:
edit_distance
-------------------------------
:doc_source: paddle.fluid.layers.edit_distance
paddle.fluid.layers.edit_distance
.. container:: doc_source
.. _cn_api_nn_cn_elu:
elu
-------------------------------
:doc_source: paddle.fluid.layers.elu
paddle.fluid.layers.elu
.. container:: doc_source
.. _cn_api_nn_cn_erf:
erf
-------------------------------
:doc_source: paddle.fluid.layers.erf
paddle.fluid.layers.erf
.. container:: doc_source
.. _cn_api_nn_cn_exponential_decay:
exponential_decay
-------------------------------
:doc_source: paddle.fluid.layers.exponential_decay
paddle.fluid.layers.exponential_decay
.. container:: doc_source
.. _cn_api_nn_cn_filter_by_instag:
filter_by_instag
-------------------------------
:doc_source: paddle.fluid.layers.filter_by_instag
paddle.fluid.layers.filter_by_instag
.. container:: doc_source
.. _cn_api_nn_cn_fsp_matrix:
fsp_matrix
-------------------------------
:doc_source: paddle.fluid.layers.fsp_matrix
paddle.fluid.layers.fsp_matrix
.. container:: doc_source
.. _cn_api_nn_cn_gather_tree:
gather_tree
-------------------------------
:doc_source: paddle.fluid.layers.gather_tree
paddle.fluid.layers.gather_tree
.. container:: doc_source
.. _cn_api_nn_cn_gelu:
gelu
-------------------------------
:doc_source: paddle.fluid.layers.gelu
paddle.fluid.layers.gelu
.. container:: doc_source
.. _cn_api_nn_cn_generate_mask_labels:
generate_mask_labels
-------------------------------
:doc_source: paddle.fluid.layers.generate_mask_labels
paddle.fluid.layers.generate_mask_labels
.. container:: doc_source
.. _cn_api_nn_cn_generate_proposal_labels:
generate_proposal_labels
-------------------------------
:doc_source: paddle.fluid.layers.generate_proposal_labels
paddle.fluid.layers.generate_proposal_labels
.. container:: doc_source
.. _cn_api_nn_cn_generate_proposals:
generate_proposals
-------------------------------
:doc_source: paddle.fluid.layers.generate_proposals
paddle.fluid.layers.generate_proposals
.. container:: doc_source
.. _cn_api_nn_cn_grid_sampler:
grid_sampler
-------------------------------
:doc_source: paddle.fluid.layers.grid_sampler
paddle.fluid.layers.grid_sampler
.. container:: doc_source
.. _cn_api_nn_cn_hard_shrink:
hard_shrink
-------------------------------
:doc_source: paddle.fluid.layers.hard_shrink
paddle.fluid.layers.hard_shrink
.. container:: doc_source
.. _cn_api_nn_cn_hard_sigmoid:
hard_sigmoid
-------------------------------
:doc_source: paddle.fluid.layers.hard_sigmoid
paddle.fluid.layers.hard_sigmoid
.. container:: doc_source
.. _cn_api_nn_cn_hard_swish:
hard_swish
-------------------------------
:doc_source: paddle.fluid.layers.hard_swish
paddle.fluid.layers.hard_swish
.. container:: doc_source
.. _cn_api_nn_cn_hash:
hash
-------------------------------
:doc_source: paddle.fluid.layers.hash
paddle.fluid.layers.hash
.. container:: doc_source
.. _cn_api_nn_cn_hsigmoid:
hsigmoid
-------------------------------
:doc_source: paddle.fluid.layers.hsigmoid
paddle.fluid.layers.hsigmoid
.. container:: doc_source
.. _cn_api_nn_cn_huber_loss:
huber_loss
-------------------------------
:doc_source: paddle.fluid.layers.huber_loss
paddle.fluid.layers.huber_loss
.. container:: doc_source
.. _cn_api_nn_cn_image_resize:
image_resize
-------------------------------
:doc_source: paddle.fluid.layers.image_resize
paddle.fluid.layers.image_resize
.. container:: doc_source
.. _cn_api_nn_cn_image_resize_short:
image_resize_short
-------------------------------
:doc_source: paddle.fluid.layers.image_resize_short
paddle.fluid.layers.image_resize_short
......@@ -6,10 +6,80 @@ paddle.nn.initializer
:maxdepth: 1
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Bilinear_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/Constant_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/MSRA_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/Normal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/TruncatedNormal_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Uniform_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
initializer_cn/Xavier_cn.rst
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_Bilinear:
Bilinear
-------------------------------
:doc_source: paddle.fluid.initializer.Bilinear
paddle.fluid.initializer.Bilinear
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_Constant:
Constant
-------------------------------
:doc_source: paddle.fluid.initializer.Constant
paddle.fluid.initializer.Constant
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_MSRA:
MSRA
-------------------------------
:doc_source: paddle.fluid.initializer.MSRA
paddle.fluid.initializer.MSRA
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_Normal:
Normal
-------------------------------
:doc_source: paddle.fluid.initializer.Normal
paddle.fluid.initializer.Normal
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_TruncatedNormal:
TruncatedNormal
-------------------------------
:doc_source: paddle.fluid.initializer.TruncatedNormal
paddle.fluid.initializer.TruncatedNormal
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_Uniform:
Uniform
-------------------------------
:doc_source: paddle.fluid.initializer.Uniform
paddle.fluid.initializer.Uniform
.. container:: doc_source
.. _cn_api_nn_cn/initializer_cn_Xavier:
Xavier
-------------------------------
:doc_source: paddle.fluid.initializer.Xavier
paddle.fluid.initializer.Xavier
.. container:: doc_source
.. _cn_api_nn_cn_inverse_time_decay:
inverse_time_decay
-------------------------------
:doc_source: paddle.fluid.layers.inverse_time_decay
paddle.fluid.layers.inverse_time_decay
.. container:: doc_source
.. _cn_api_nn_cn_iou_similarity:
iou_similarity
-------------------------------
:doc_source: paddle.fluid.layers.iou_similarity
paddle.fluid.layers.iou_similarity
.. container:: doc_source
.. _cn_api_nn_cn_kldiv_loss:
kldiv_loss
-------------------------------
:doc_source: paddle.fluid.layers.kldiv_loss
paddle.fluid.layers.kldiv_loss
.. container:: doc_source
.. _cn_api_nn_cn_l2_normalize:
l2_normalize
-------------------------------
:doc_source: paddle.fluid.layers.l2_normalize
paddle.fluid.layers.l2_normalize
.. container:: doc_source
.. _cn_api_nn_cn_label_smooth:
label_smooth
-------------------------------
:doc_source: paddle.fluid.layers.label_smooth
paddle.fluid.layers.label_smooth
.. container:: doc_source
.. _cn_api_nn_cn_leaky_relu:
leaky_relu
-------------------------------
:doc_source: paddle.fluid.layers.leaky_relu
paddle.fluid.layers.leaky_relu
.. container:: doc_source
.. _cn_api_nn_cn_linear_lr_warmup:
linear_lr_warmup
-------------------------------
:doc_source: paddle.fluid.layers.linear_lr_warmup
paddle.fluid.layers.linear_lr_warmup
.. container:: doc_source
.. _cn_api_nn_cn_log_loss:
log_loss
-------------------------------
:doc_source: paddle.fluid.layers.log_loss
paddle.fluid.layers.log_loss
.. container:: doc_source
.. _cn_api_nn_cn_logsigmoid:
logsigmoid
-------------------------------
:doc_source: paddle.fluid.layers.logsigmoid
paddle.fluid.layers.logsigmoid
.. container:: doc_source
.. _cn_api_nn_cn_lrn:
lrn
-------------------------------
:doc_source: paddle.fluid.layers.lrn
paddle.fluid.layers.lrn
.. container:: doc_source
.. _cn_api_nn_cn_margin_rank_loss:
margin_rank_loss
-------------------------------
:doc_source: paddle.fluid.layers.margin_rank_loss
paddle.fluid.layers.margin_rank_loss
.. container:: doc_source
.. _cn_api_nn_cn_maxout:
maxout
-------------------------------
:doc_source: paddle.fluid.layers.maxout
paddle.fluid.layers.maxout
.. container:: doc_source
.. _cn_api_nn_cn_mse_loss:
mse_loss
-------------------------------
:doc_source: paddle.fluid.layers.mse_loss
paddle.fluid.layers.mse_loss
.. container:: doc_source
.. _cn_api_nn_cn_multiclass_nms:
multiclass_nms
-------------------------------
:doc_source: paddle.fluid.layers.multiclass_nms
paddle.fluid.layers.multiclass_nms
.. container:: doc_source
.. _cn_api_nn_cn_natural_exp_decay:
natural_exp_decay
-------------------------------
:doc_source: paddle.fluid.layers.natural_exp_decay
paddle.fluid.layers.natural_exp_decay
.. container:: doc_source
.. _cn_api_nn_cn_noam_decay:
noam_decay
-------------------------------
:doc_source: paddle.fluid.layers.noam_decay
paddle.fluid.layers.noam_decay
.. container:: doc_source
.. _cn_api_nn_cn_npair_loss:
npair_loss
-------------------------------
:doc_source: paddle.fluid.layers.npair_loss
paddle.fluid.layers.npair_loss
.. container:: doc_source
.. _cn_api_nn_cn_one_hot:
one_hot
-------------------------------
:doc_source: paddle.fluid.one_hot
paddle.fluid.one_hot
.. container:: doc_source
.. _cn_api_nn_cn_pad2d:
pad2d
-------------------------------
:doc_source: paddle.fluid.layers.pad2d
paddle.fluid.layers.pad2d
.. container:: doc_source
.. _cn_api_nn_cn_pad:
pad
-------------------------------
:doc_source: paddle.fluid.layers.pad
paddle.fluid.layers.pad
.. container:: doc_source
.. _cn_api_nn_cn_pad_constant_like:
pad_constant_like
-------------------------------
:doc_source: paddle.fluid.layers.pad_constant_like
paddle.fluid.layers.pad_constant_like
.. container:: doc_source
.. _cn_api_nn_cn_piecewise_decay:
piecewise_decay
-------------------------------
:doc_source: paddle.fluid.layers.piecewise_decay
paddle.fluid.layers.piecewise_decay
.. container:: doc_source
.. _cn_api_nn_cn_pixel_shuffle:
pixel_shuffle
-------------------------------
:doc_source: paddle.fluid.layers.pixel_shuffle
paddle.fluid.layers.pixel_shuffle
.. container:: doc_source
.. _cn_api_nn_cn_polygon_box_transform:
polygon_box_transform
-------------------------------
:doc_source: paddle.fluid.layers.polygon_box_transform
paddle.fluid.layers.polygon_box_transform
.. container:: doc_source
.. _cn_api_nn_cn_polynomial_decay:
polynomial_decay
-------------------------------
:doc_source: paddle.fluid.layers.polynomial_decay
paddle.fluid.layers.polynomial_decay
.. container:: doc_source
.. _cn_api_nn_cn_pool3d:
pool3d
-------------------------------
:doc_source: paddle.fluid.layers.pool3d
paddle.fluid.layers.pool3d
.. container:: doc_source
.. _cn_api_nn_cn_prior_box:
prior_box
-------------------------------
:doc_source: paddle.fluid.layers.prior_box
paddle.fluid.layers.prior_box
.. container:: doc_source
.. _cn_api_nn_cn_prroi_pool:
prroi_pool
-------------------------------
:doc_source: paddle.fluid.layers.prroi_pool
paddle.fluid.layers.prroi_pool
.. container:: doc_source
.. _cn_api_nn_cn_psroi_pool:
psroi_pool
-------------------------------
:doc_source: paddle.fluid.layers.psroi_pool
paddle.fluid.layers.psroi_pool
.. container:: doc_source
.. _cn_api_nn_cn_random_crop:
random_crop
-------------------------------
:doc_source: paddle.fluid.layers.random_crop
paddle.fluid.layers.random_crop
.. container:: doc_source
.. _cn_api_nn_cn_rank_loss:
rank_loss
-------------------------------
:doc_source: paddle.fluid.layers.rank_loss
paddle.fluid.layers.rank_loss
.. container:: doc_source
.. _cn_api_nn_cn_relu6:
relu6
-------------------------------
:doc_source: paddle.fluid.layers.relu6
paddle.fluid.layers.relu6
.. container:: doc_source
.. _cn_api_nn_cn_resize_bilinear:
resize_bilinear
-------------------------------
:doc_source: paddle.fluid.layers.resize_bilinear
paddle.fluid.layers.resize_bilinear
.. container:: doc_source
.. _cn_api_nn_cn_resize_nearest:
resize_nearest
-------------------------------
:doc_source: paddle.fluid.layers.resize_nearest
paddle.fluid.layers.resize_nearest
.. container:: doc_source
.. _cn_api_nn_cn_resize_trilinear:
resize_trilinear
-------------------------------
:doc_source: paddle.fluid.layers.resize_trilinear
paddle.fluid.layers.resize_trilinear
.. container:: doc_source
.. _cn_api_nn_cn_retinanet_detection_output:
retinanet_detection_output
-------------------------------
:doc_source: paddle.fluid.layers.retinanet_detection_output
paddle.fluid.layers.retinanet_detection_output
.. container:: doc_source
.. _cn_api_nn_cn_retinanet_target_assign:
retinanet_target_assign
-------------------------------
:doc_source: paddle.fluid.layers.retinanet_target_assign
paddle.fluid.layers.retinanet_target_assign
.. container:: doc_source
.. _cn_api_nn_cn_roi_align:
roi_align
-------------------------------
:doc_source: paddle.fluid.layers.roi_align
paddle.fluid.layers.roi_align
.. container:: doc_source
.. _cn_api_nn_cn_roi_perspective_transform:
roi_perspective_transform
-------------------------------
:doc_source: paddle.fluid.layers.roi_perspective_transform
paddle.fluid.layers.roi_perspective_transform
.. container:: doc_source
.. _cn_api_nn_cn_roi_pool:
roi_pool
-------------------------------
:doc_source: paddle.fluid.layers.roi_pool
paddle.fluid.layers.roi_pool
.. container:: doc_source
.. _cn_api_nn_cn_row_conv:
row_conv
-------------------------------
:doc_source: paddle.fluid.layers.row_conv
paddle.fluid.layers.row_conv
.. container:: doc_source
.. _cn_api_nn_cn_rpn_target_assign:
rpn_target_assign
-------------------------------
:doc_source: paddle.fluid.layers.rpn_target_assign
paddle.fluid.layers.rpn_target_assign
.. container:: doc_source
.. _cn_api_nn_cn_sampled_softmax_with_cross_entropy:
sampled_softmax_with_cross_entropy
-------------------------------
:doc_source: paddle.fluid.layers.sampled_softmax_with_cross_entropy
paddle.fluid.layers.sampled_softmax_with_cross_entropy
.. container:: doc_source
.. _cn_api_nn_cn_selu:
selu
-------------------------------
:doc_source: paddle.fluid.layers.selu
paddle.fluid.layers.selu
.. container:: doc_source
.. _cn_api_nn_cn_shuffle_channel:
shuffle_channel
-------------------------------
:doc_source: paddle.fluid.layers.shuffle_channel
paddle.fluid.layers.shuffle_channel
.. container:: doc_source
.. _cn_api_nn_cn_sigmoid_cross_entropy_with_logits:
sigmoid_cross_entropy_with_logits
-------------------------------
:doc_source: paddle.fluid.layers.sigmoid_cross_entropy_with_logits
paddle.fluid.layers.sigmoid_cross_entropy_with_logits
.. container:: doc_source
.. _cn_api_nn_cn_sigmoid_focal_loss:
sigmoid_focal_loss
-------------------------------
:doc_source: paddle.fluid.layers.sigmoid_focal_loss
paddle.fluid.layers.sigmoid_focal_loss
.. container:: doc_source
.. _cn_api_nn_cn_similarity_focus:
similarity_focus
-------------------------------
:doc_source: paddle.fluid.layers.similarity_focus
paddle.fluid.layers.similarity_focus
.. container:: doc_source
.. _cn_api_nn_cn_smooth_l1:
smooth_l1
-------------------------------
:doc_source: paddle.fluid.layers.smooth_l1
paddle.fluid.layers.smooth_l1
.. container:: doc_source
.. _cn_api_nn_cn_soft_relu:
soft_relu
-------------------------------
:doc_source: paddle.fluid.layers.soft_relu
paddle.fluid.layers.soft_relu
.. container:: doc_source
.. _cn_api_nn_cn_softmax:
softmax
-------------------------------
:doc_source: paddle.fluid.layers.softmax
paddle.fluid.layers.softmax
.. container:: doc_source
.. _cn_api_nn_cn_softmax_with_cross_entropy:
softmax_with_cross_entropy
-------------------------------
:doc_source: paddle.fluid.layers.softmax_with_cross_entropy
paddle.fluid.layers.softmax_with_cross_entropy
.. container:: doc_source
.. _cn_api_nn_cn_softplus:
softplus
-------------------------------
:doc_source: paddle.fluid.layers.softplus
paddle.fluid.layers.softplus
.. container:: doc_source
.. _cn_api_nn_cn_softshrink:
softshrink
-------------------------------
:doc_source: paddle.fluid.layers.softshrink
paddle.fluid.layers.softshrink
.. container:: doc_source
.. _cn_api_nn_cn_softsign:
softsign
-------------------------------
:doc_source: paddle.fluid.layers.softsign
paddle.fluid.layers.softsign
.. container:: doc_source
.. _cn_api_nn_cn_space_to_depth:
space_to_depth
-------------------------------
:doc_source: paddle.fluid.layers.space_to_depth
paddle.fluid.layers.space_to_depth
.. container:: doc_source
.. _cn_api_nn_cn_square_error_cost:
square_error_cost
-------------------------------
:doc_source: paddle.fluid.layers.square_error_cost
paddle.fluid.layers.square_error_cost
.. container:: doc_source
.. _cn_api_nn_cn_ssd_loss:
ssd_loss
-------------------------------
:doc_source: paddle.fluid.layers.ssd_loss
paddle.fluid.layers.ssd_loss
.. container:: doc_source
.. _cn_api_nn_cn_swish:
swish
-------------------------------
:doc_source: paddle.fluid.layers.swish
paddle.fluid.layers.swish
.. container:: doc_source
.. _cn_api_nn_cn_switch_case:
switch_case
-------------------------------
:doc_source: paddle.fluid.layers.switch_case
paddle.fluid.layers.switch_case
.. container:: doc_source
.. _cn_api_nn_cn_tanh_shrink:
tanh_shrink
-------------------------------
:doc_source: paddle.fluid.layers.tanh_shrink
paddle.fluid.layers.tanh_shrink
.. container:: doc_source
.. _cn_api_nn_cn_target_assign:
target_assign
-------------------------------
:doc_source: paddle.fluid.layers.target_assign
paddle.fluid.layers.target_assign
.. container:: doc_source
.. _cn_api_nn_cn_teacher_student_sigmoid_loss:
teacher_student_sigmoid_loss
-------------------------------
:doc_source: paddle.fluid.layers.teacher_student_sigmoid_loss
paddle.fluid.layers.teacher_student_sigmoid_loss
.. container:: doc_source
.. _cn_api_nn_cn_temporal_shift:
temporal_shift
-------------------------------
:doc_source: paddle.fluid.layers.temporal_shift
paddle.fluid.layers.temporal_shift
.. container:: doc_source
.. _cn_api_nn_cn_thresholded_relu:
thresholded_relu
-------------------------------
:doc_source: paddle.fluid.layers.thresholded_relu
paddle.fluid.layers.thresholded_relu
.. container:: doc_source
.. _cn_api_nn_cn_unfold:
unfold
-------------------------------
:doc_source: paddle.fluid.layers.unfold
paddle.fluid.layers.unfold
.. container:: doc_source
.. _cn_api_nn_cn_warpctc:
warpctc
-------------------------------
:doc_source: paddle.fluid.layers.warpctc
paddle.fluid.layers.warpctc
.. container:: doc_source
.. _cn_api_nn_cn_while_loop:
while_loop
-------------------------------
:doc_source: paddle.fluid.layers.while_loop
paddle.fluid.layers.while_loop
.. container:: doc_source
.. _cn_api_nn_cn_yolo_box:
yolo_box
-------------------------------
:doc_source: paddle.fluid.layers.yolo_box
paddle.fluid.layers.yolo_box
.. container:: doc_source
.. _cn_api_nn_cn_yolov3_loss:
yolov3_loss
-------------------------------
:doc_source: paddle.fluid.layers.yolov3_loss
paddle.fluid.layers.yolov3_loss
=======================
fluid.optimizer
paddle.optimizer
=======================
......@@ -36,31 +36,3 @@ fluid.optimizer
optimizer_cn/RMSPropOptimizer_cn.rst
optimizer_cn/SGD_cn.rst
optimizer_cn/SGDOptimizer_cn.rst
optimizer_cn/AdadeltaOptimizer_cn.rst
optimizer_cn/Adadelta_cn.rst
optimizer_cn/AdagradOptimizer_cn.rst
optimizer_cn/Adagrad_cn.rst
optimizer_cn/AdamaxOptimizer_cn.rst
optimizer_cn/Adamax_cn.rst
optimizer_cn/AdamOptimizer_cn.rst
optimizer_cn/Adam_cn.rst
optimizer_cn/DecayedAdagradOptimizer_cn.rst
optimizer_cn/DecayedAdagrad_cn.rst
optimizer_cn/DGCMomentumOptimizer_cn.rst
optimizer_cn/DpsgdOptimizer_cn.rst
optimizer_cn/Dpsgd_cn.rst
optimizer_cn/ExponentialMovingAverage_cn.rst
optimizer_cn/FtrlOptimizer_cn.rst
optimizer_cn/Ftrl_cn.rst
optimizer_cn/LambOptimizer_cn.rst
optimizer_cn/LarsMomentumOptimizer_cn.rst
optimizer_cn/LarsMomentum_cn.rst
optimizer_cn/LookaheadOptimizer_cn.rst
optimizer_cn/ModelAverage_cn.rst
optimizer_cn/MomentumOptimizer_cn.rst
optimizer_cn/Momentum_cn.rst
optimizer_cn/PipelineOptimizer_cn.rst
optimizer_cn/RecomputeOptimizer_cn.rst
optimizer_cn/RMSPropOptimizer_cn.rst
optimizer_cn/SGDOptimizer_cn.rst
optimizer_cn/SGD_cn.rst
......@@ -5,176 +5,166 @@ paddle
.. toctree::
:maxdepth: 1
paddle_cn/abs_cn.rst
paddle_cn/acos_cn.rst
paddle_cn/addcmul_cn.rst
paddle_cn/addmm_cn.rst
paddle_cn/add_cn.rst
paddle_cn/allclose_cn.rst
paddle_cn/append_backward_cn.rst
paddle_cn/arange_cn.rst
paddle_cn/argmax_cn.rst
paddle_cn/argmin_cn.rst
paddle_cn/argsort_cn.rst
paddle_cn/asin_cn.rst
paddle_cn/atan_cn.rst
paddle_cn/bmm_cn.rst
paddle_cn/BuildStrategy_cn.rst
paddle_cn/cast_cn.rst
paddle_cn/ceil_cn.rst
paddle_cn/cholesky_cn.rst
paddle_cn/clamp_cn.rst
paddle_cn/CompiledProgram_cn.rst
paddle_cn/concat_cn.rst
paddle_cn/cos_cn.rst
paddle_cn/CPUPlace_cn.rst
paddle_cn/create_global_var_cn.rst
paddle_cn/create_parameter_cn.rst
paddle_cn/create_tensor_cn.rst
paddle_cn/crop_tensor_cn.rst
paddle_cn/cross_cn.rst
paddle_cn/CUDAPinnedPlace_cn.rst
paddle_cn/CUDAPlace_cn.rst
paddle_cn/cumsum_cn.rst
paddle_cn/default_main_program_cn.rst
paddle_cn/default_startup_program_cn.rst
paddle_cn/diag_cn.rst
paddle_cn/disable_imperative_cn.rst
paddle_cn/dist_cn.rst
paddle_cn/div_cn.rst
paddle_cn/dot_cn.rst
paddle_cn/elementwise_add_cn.rst
paddle_cn/elementwise_div_cn.rst
paddle_cn/elementwise_equal_cn.rst
paddle_cn/elementwise_floordiv_cn.rst
paddle_cn/elementwise_max_cn.rst
paddle_cn/elementwise_min_cn.rst
paddle_cn/elementwise_mod_cn.rst
paddle_cn/elementwise_mul_cn.rst
paddle_cn/elementwise_pow_cn.rst
paddle_cn/elementwise_sub_cn.rst
paddle_cn/elementwise_sum_cn.rst
paddle_cn/enable_imperative_cn.rst
paddle_cn/equal_cn.rst
paddle_cn/erf_cn.rst
paddle_cn/ExecutionStrategy_cn.rst
paddle_cn/Executor_cn.rst
paddle_cn/expand_as_cn.rst
paddle_cn/expand_cn.rst
paddle_cn/exp_cn.rst
paddle_cn/eye_cn.rst
paddle_cn/fill_constant_cn.rst
paddle_cn/flatten_cn.rst
paddle_cn/flip_cn.rst
paddle_cn/floor_cn.rst
paddle_cn/full_cn.rst
paddle_cn/full_like_cn.rst
paddle_cn/gather_cn.rst
paddle_cn/gather_nd_cn.rst
paddle_cn/global_scope_cn.rst
paddle_cn/gradients_cn.rst
paddle_cn/greater_equal_cn.rst
paddle_cn/greater_than_cn.rst
paddle_cn/has_inf_cn.rst
paddle_cn/has_nan_cn.rst
paddle_cn/increment_cn.rst
paddle_cn/index_sample_cn.rst
paddle_cn/index_select_cn.rst
paddle_cn/inverse_cn.rst
paddle_cn/in_imperative_mode_cn.rst
paddle_cn/isfinite_cn.rst
paddle_cn/is_empty_cn.rst
paddle_cn/kron_cn.rst
paddle_cn/less_equal_cn.rst
paddle_cn/less_than_cn.rst
paddle_cn/linspace_cn.rst
paddle_cn/load_cn.rst
paddle_cn/log1p_cn.rst
paddle_cn/logical_and_cn.rst
paddle_cn/logical_not_cn.rst
paddle_cn/logical_or_cn.rst
paddle_cn/logical_xor_cn.rst
paddle_cn/logsumexp_cn.rst
paddle_cn/log_cn.rst
paddle_cn/manual_seed_cn.rst
paddle_cn/matmul_cn.rst
paddle_cn/max_cn.rst
paddle_cn/mean_cn.rst
paddle_cn/meshgrid_cn.rst
paddle_cn/min_cn.rst
paddle_cn/mm_cn.rst
paddle_cn/multiplex_cn.rst
paddle_cn/mul_cn.rst
paddle_cn/name_scope_cn.rst
paddle_cn/nonzero_cn.rst
paddle_cn/norm_cn.rst
paddle_cn/not_equal_cn.rst
paddle_cn/ones_cn.rst
paddle_cn/ones_like_cn.rst
paddle_cn/ParallelExecutor_cn.rst
paddle_cn/ParamAttr_cn.rst
paddle_cn/pow_cn.rst
paddle_cn/Print_cn.rst
paddle_cn/Program_cn.rst
paddle_cn/program_guard_cn.rst
paddle_cn/py_func_cn.rst
paddle_cn/randint_cn.rst
paddle_cn/randn_cn.rst
paddle_cn/randperm_cn.rst
paddle_cn/rand_cn.rst
paddle_cn/rank_cn.rst
paddle_cn/reciprocal_cn.rst
paddle_cn/reduce_all_cn.rst
paddle_cn/reduce_any_cn.rst
paddle_cn/reduce_max_cn.rst
paddle_cn/reduce_mean_cn.rst
paddle_cn/reduce_min_cn.rst
paddle_cn/reduce_prod_cn.rst
paddle_cn/reduce_sum_cn.rst
paddle_cn/reshape_cn.rst
paddle_cn/reverse_cn.rst
paddle_cn/roll_cn.rst
paddle_cn/round_cn.rst
paddle_cn/rsqrt_cn.rst
paddle_cn/save_cn.rst
paddle_cn/scale_cn.rst
paddle_cn/scatter_cn.rst
paddle_cn/scatter_nd_add_cn.rst
paddle_cn/scatter_nd_cn.rst
paddle_cn/scope_guard_cn.rst
paddle_cn/shape_cn.rst
paddle_cn/shard_index_cn.rst
paddle_cn/shuffle_cn.rst
paddle_cn/sign_cn.rst
paddle_cn/sin_cn.rst
paddle_cn/slice_cn.rst
paddle_cn/sort_cn.rst
paddle_cn/split_cn.rst
paddle_cn/sqrt_cn.rst
paddle_cn/square_cn.rst
paddle_cn/squeeze_cn.rst
paddle_cn/stack_cn.rst
paddle_cn/stanh_cn.rst
paddle_cn/std_cn.rst
paddle_cn/strided_slice_cn.rst
paddle_cn/sums_cn.rst
paddle_cn/sum_cn.rst
paddle_cn/tanh_cn.rst
paddle_cn/topk_cn.rst
paddle_cn/trace_cn.rst
paddle_cn/transpose_cn.rst
paddle_cn/tril_cn.rst
paddle_cn/triu_cn.rst
paddle_cn/t_cn.rst
paddle_cn/unbind_cn.rst
paddle_cn/unique_cn.rst
paddle_cn/unique_with_counts_cn.rst
paddle_cn/unsqueeze_cn.rst
paddle_cn/unstack_cn.rst
paddle_cn/Variable_cn.rst
paddle_cn/var_cn.rst
paddle_cn/WeightNormParamAttr_cn.rst
paddle_cn/where_cn.rst
paddle_cn/zeros_cn.rst
paddle_cn/zeros_like_cn.rst
paddle_cn/abs_cn.rst
paddle_cn/acos_cn.rst
paddle_cn/addcmul_cn.rst
paddle_cn/addmm_cn.rst
paddle_cn/allclose_cn.rst
paddle_cn/append_backward_cn.rst
paddle_cn/argmax_cn.rst
paddle_cn/argmin_cn.rst
paddle_cn/argsort_cn.rst
paddle_cn/asin_cn.rst
paddle_cn/atan_cn.rst
paddle_cn/bmm_cn.rst
paddle_cn/BuildStrategy_cn.rst
paddle_cn/cast_cn.rst
paddle_cn/ceil_cn.rst
paddle_cn/cholesky_cn.rst
paddle_cn/clamp_cn.rst
paddle_cn/CompiledProgram_cn.rst
paddle_cn/concat_cn.rst
paddle_cn/cond_cn.rst
paddle_cn/cos_cn.rst
paddle_cn/CPUPlace_cn.rst
paddle_cn/create_global_var_cn.rst
paddle_cn/create_parameter_cn.rst
paddle_cn/create_tensor_cn.rst
paddle_cn/crop_tensor_cn.rst
paddle_cn/cross_cn.rst
paddle_cn/CUDAPinnedPlace_cn.rst
paddle_cn/CUDAPlace_cn.rst
paddle_cn/cumsum_cn.rst
paddle_cn/default_main_program_cn.rst
paddle_cn/default_startup_program_cn.rst
paddle_cn/diag_cn.rst
paddle_cn/disable_dygraph_cn.rst
paddle_cn/dist_cn.rst
paddle_cn/dot_cn.rst
paddle_cn/elementwise_add_cn.rst
paddle_cn/elementwise_div_cn.rst
paddle_cn/elementwise_floordiv_cn.rst
paddle_cn/elementwise_max_cn.rst
paddle_cn/elementwise_min_cn.rst
paddle_cn/elementwise_mod_cn.rst
paddle_cn/elementwise_mul_cn.rst
paddle_cn/elementwise_pow_cn.rst
paddle_cn/elementwise_sub_cn.rst
paddle_cn/elementwise_sum_cn.rst
paddle_cn/enable_dygraph_cn.rst
paddle_cn/equal_cn.rst
paddle_cn/erf_cn.rst
paddle_cn/ExecutionStrategy_cn.rst
paddle_cn/Executor_cn.rst
paddle_cn/expand_as_cn.rst
paddle_cn/expand_cn.rst
paddle_cn/exp_cn.rst
paddle_cn/eye_cn.rst
paddle_cn/fill_constant_cn.rst
paddle_cn/flatten_cn.rst
paddle_cn/flip_cn.rst
paddle_cn/floor_cn.rst
paddle_cn/full_like_cn.rst
paddle_cn/gather_cn.rst
paddle_cn/gather_nd_cn.rst
paddle_cn/global_scope_cn.rst
paddle_cn/gradients_cn.rst
paddle_cn/greater_equal_cn.rst
paddle_cn/greater_than_cn.rst
paddle_cn/has_inf_cn.rst
paddle_cn/has_nan_cn.rst
paddle_cn/increment_cn.rst
paddle_cn/index_sample_cn.rst
paddle_cn/index_select_cn.rst
paddle_cn/inverse_cn.rst
paddle_cn/in_dygraph_mode_cn.rst
paddle_cn/isfinite_cn.rst
paddle_cn/is_empty_cn.rst
paddle_cn/kron_cn.rst
paddle_cn/l2_normalize_cn.rst
paddle_cn/less_equal_cn.rst
paddle_cn/less_than_cn.rst
paddle_cn/linspace_cn.rst
paddle_cn/load_cn.rst
paddle_cn/log1p_cn.rst
paddle_cn/logical_and_cn.rst
paddle_cn/logical_not_cn.rst
paddle_cn/logical_or_cn.rst
paddle_cn/logical_xor_cn.rst
paddle_cn/logsumexp_cn.rst
paddle_cn/log_cn.rst
paddle_cn/manual_seed_cn.rst
paddle_cn/matmul_cn.rst
paddle_cn/mean_cn.rst
paddle_cn/meshgrid_cn.rst
paddle_cn/multiplex_cn.rst
paddle_cn/mul_cn.rst
paddle_cn/name_scope_cn.rst
paddle_cn/nonzero_cn.rst
paddle_cn/not_equal_cn.rst
paddle_cn/ones_cn.rst
paddle_cn/ones_like_cn.rst
paddle_cn/ParallelExecutor_cn.rst
paddle_cn/ParamAttr_cn.rst
paddle_cn/pow_cn.rst
paddle_cn/Print_cn.rst
paddle_cn/Program_cn.rst
paddle_cn/program_guard_cn.rst
paddle_cn/py_func_cn.rst
paddle_cn/randint_cn.rst
paddle_cn/randn_cn.rst
paddle_cn/randperm_cn.rst
paddle_cn/rand_cn.rst
paddle_cn/range_cn.rst
paddle_cn/rank_cn.rst
paddle_cn/reciprocal_cn.rst
paddle_cn/reduce_all_cn.rst
paddle_cn/reduce_any_cn.rst
paddle_cn/reduce_max_cn.rst
paddle_cn/reduce_mean_cn.rst
paddle_cn/reduce_min_cn.rst
paddle_cn/reduce_prod_cn.rst
paddle_cn/reduce_sum_cn.rst
paddle_cn/reshape_cn.rst
paddle_cn/reverse_cn.rst
paddle_cn/roll_cn.rst
paddle_cn/round_cn.rst
paddle_cn/rsqrt_cn.rst
paddle_cn/save_cn.rst
paddle_cn/scale_cn.rst
paddle_cn/scatter_cn.rst
paddle_cn/scatter_nd_add_cn.rst
paddle_cn/scatter_nd_cn.rst
paddle_cn/scope_guard_cn.rst
paddle_cn/shape_cn.rst
paddle_cn/shard_index_cn.rst
paddle_cn/shuffle_cn.rst
paddle_cn/sign_cn.rst
paddle_cn/sin_cn.rst
paddle_cn/slice_cn.rst
paddle_cn/split_cn.rst
paddle_cn/sqrt_cn.rst
paddle_cn/square_cn.rst
paddle_cn/squeeze_cn.rst
paddle_cn/stack_cn.rst
paddle_cn/stanh_cn.rst
paddle_cn/std_cn.rst
paddle_cn/strided_slice_cn.rst
paddle_cn/sums_cn.rst
paddle_cn/tanh_cn.rst
paddle_cn/topk_cn.rst
paddle_cn/trace_cn.rst
paddle_cn/transpose_cn.rst
paddle_cn/tril_cn.rst
paddle_cn/triu_cn.rst
paddle_cn/t_cn.rst
paddle_cn/unbind_cn.rst
paddle_cn/unique_cn.rst
paddle_cn/unique_with_counts_cn.rst
paddle_cn/unsqueeze_cn.rst
paddle_cn/unstack_cn.rst
paddle_cn/Variable_cn.rst
paddle_cn/var_cn.rst
paddle_cn/WeightNormParamAttr_cn.rst
paddle_cn/zeros_cn.rst
paddle_cn/zeros_like_cn.rst
.. container:: doc_source
.. _cn_api_paddle_cn_BuildStrategy:
BuildStrategy
-------------------------------
:doc_source: paddle.fluid.compiler.BuildStrategy
paddle.fluid.compiler.BuildStrategy
.. container:: doc_source
.. _cn_api_paddle_cn_CPUPlace:
CPUPlace
-------------------------------
:doc_source: paddle.fluid.core.CPUPlace
paddle.fluid.core.CPUPlace
.. container:: doc_source
.. _cn_api_paddle_cn_CUDAPinnedPlace:
CUDAPinnedPlace
-------------------------------
:doc_source: paddle.fluid.core.CUDAPinnedPlace
paddle.fluid.core.CUDAPinnedPlace
.. container:: doc_source
.. _cn_api_paddle_cn_CUDAPlace:
CUDAPlace
-------------------------------
:doc_source: paddle.fluid.core.CUDAPlace
paddle.fluid.core.CUDAPlace
.. container:: doc_source
.. _cn_api_paddle_cn_CompiledProgram:
CompiledProgram
-------------------------------
:doc_source: paddle.fluid.compiler.CompiledProgram
paddle.fluid.compiler.CompiledProgram
.. container:: doc_source
.. _cn_api_paddle_cn_ExecutionStrategy:
ExecutionStrategy
-------------------------------
:doc_source: paddle.framework.ExecutionStrategy
paddle.framework.ExecutionStrategy
.. container:: doc_source
.. _cn_api_paddle_cn_Executor:
Executor
-------------------------------
:doc_source: paddle.fluid.executor.Executor
paddle.fluid.executor.Executor
.. container:: doc_source
.. _cn_api_paddle_cn_ParallelExecutor:
ParallelExecutor
-------------------------------
:doc_source: paddle.fluid.parallel_executor.ParallelExecutor
paddle.fluid.parallel_executor.ParallelExecutor
.. container:: doc_source
.. _cn_api_paddle_cn_ParamAttr:
ParamAttr
-------------------------------
:doc_source: paddle.fluid.param_attr.ParamAttr
paddle.fluid.param_attr.ParamAttr
.. container:: doc_source
.. _cn_api_paddle_cn_Print:
Print
-------------------------------
:doc_source: paddle.fluid.layers.control_flow.Print
paddle.fluid.layers.control_flow.Print
.. container:: doc_source
.. _cn_api_paddle_cn_Program:
Program
-------------------------------
:doc_source: paddle.fluid.framework.Program
paddle.fluid.framework.Program
.. container:: doc_source
.. _cn_api_paddle_cn_Variable:
Variable
-------------------------------
:doc_source: paddle.fluid.framework.Variable
paddle.fluid.framework.Variable
.. container:: doc_source
.. _cn_api_paddle_cn_WeightNormParamAttr:
WeightNormParamAttr
-------------------------------
:doc_source: paddle.fluid.param_attr.WeightNormParamAttr
paddle.fluid.param_attr.WeightNormParamAttr
.. container:: doc_source
paddle.fluid.layers.abs
.. container:: doc_source
paddle.fluid.layers.acos
.. _cn_api_paddle_cn_acos:
acos
-------------------------------
:doc_source: paddle.fluid.layers.acos
.. container:: doc_source
.. _cn_api_paddle_cn_add:
add
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_add
paddle.fluid.layers.elementwise_add
.. container:: doc_source
.. _cn_api_paddle_cn_addcmul:
addcmul
-------------------------------
:doc_source: paddle.tensor.addcmul
paddle.tensor.addcmul
.. container:: doc_source
.. _cn_api_paddle_cn_addmm:
addmm
-------------------------------
:doc_source: paddle.tensor.addmm
paddle.tensor.addmm
.. container:: doc_source
.. _cn_api_paddle_cn_allclose:
allclose
-------------------------------
:doc_source: paddle.tensor.allclose
paddle.tensor.allclose
.. container:: doc_source
.. _cn_api_paddle_cn_append_backward:
append_backward
-------------------------------
:doc_source: paddle.fluid.backward.append_backward
paddle.fluid.backward.append_backward
.. container:: doc_source
.. _cn_api_paddle_cn_arange:
arange
-------------------------------
:doc_source: paddle.fluid.layers.range
paddle.fluid.layers.range
.. container:: doc_source
.. _cn_api_paddle_cn_argmax:
argmax
-------------------------------
:doc_source: paddle.fluid.layers.argmax
paddle.fluid.layers.argmax
.. container:: doc_source
.. _cn_api_paddle_cn_argmin:
argmin
-------------------------------
:doc_source: paddle.fluid.layers.argmin
paddle.fluid.layers.argmin
.. container:: doc_source
.. _cn_api_paddle_cn_argsort:
argsort
-------------------------------
:doc_source: paddle.fluid.layers.argsort
paddle.fluid.layers.argsort
.. container:: doc_source
.. _cn_api_paddle_cn_asin:
asin
-------------------------------
:doc_source: paddle.fluid.layers.asin
paddle.fluid.layers.asin
.. container:: doc_source
.. _cn_api_paddle_cn_atan:
atan
-------------------------------
:doc_source: paddle.fluid.layers.atan
paddle.fluid.layers.atan
.. container:: doc_source
.. _cn_api_paddle_cn_bmm:
bmm
-------------------------------
:doc_source: paddle.tensor.bmm
paddle.tensor.bmm
.. container:: doc_source
.. _cn_api_paddle_cn_cast:
cast
-------------------------------
:doc_source: paddle.fluid.layers.cast
paddle.fluid.layers.cast
.. container:: doc_source
.. _cn_api_paddle_cn_ceil:
ceil
-------------------------------
:doc_source: paddle.fluid.layers.ceil
paddle.fluid.layers.ceil
.. container:: doc_source
.. _cn_api_paddle_cn_cholesky:
cholesky
-------------------------------
:doc_source: paddle.tensor.cholesky
paddle.tensor.cholesky
.. container:: doc_source
.. _cn_api_paddle_cn_clamp:
clamp
-------------------------------
:doc_source: paddle.tensor.clamp
paddle.tensor.clamp
.. container:: doc_source
.. _cn_api_paddle_cn_concat:
concat
-------------------------------
:doc_source: paddle.fluid.layers.concat
paddle.fluid.layers.concat
.. container:: doc_source
.. _cn_api_paddle_cn_cos:
cos
-------------------------------
:doc_source: paddle.fluid.layers.cos
paddle.fluid.layers.cos
.. container:: doc_source
.. _cn_api_paddle_cn_create_global_var:
create_global_var
-------------------------------
:doc_source: paddle.fluid.layers.tensor.create_global_var
paddle.fluid.layers.tensor.create_global_var
.. container:: doc_source
.. _cn_api_paddle_cn_create_parameter:
create_parameter
-------------------------------
:doc_source: paddle.fluid.layers.create_parameter
paddle.fluid.layers.create_parameter
.. container:: doc_source
.. _cn_api_paddle_cn_create_tensor:
create_tensor
-------------------------------
:doc_source: paddle.fluid.layers.create_tensor
paddle.fluid.layers.create_tensor
.. container:: doc_source
.. _cn_api_paddle_cn_crop_tensor:
crop_tensor
-------------------------------
:doc_source: paddle.fluid.layers.crop_tensor
paddle.fluid.layers.crop_tensor
.. container:: doc_source
.. _cn_api_paddle_cn_cross:
cross
-------------------------------
:doc_source: paddle.tensor.cross
paddle.tensor.cross
.. container:: doc_source
.. _cn_api_paddle_cn_cumsum:
cumsum
-------------------------------
:doc_source: paddle.fluid.layers.cumsum
paddle.fluid.layers.cumsum
.. container:: doc_source
.. _cn_api_paddle_cn_default_main_program:
default_main_program
-------------------------------
:doc_source: paddle.fluid.framework.default_main_program
paddle.fluid.framework.default_main_program
.. container:: doc_source
.. _cn_api_paddle_cn_default_startup_program:
default_startup_program
-------------------------------
:doc_source: paddle.fluid.framework.default_startup_program
paddle.fluid.framework.default_startup_program
.. container:: doc_source
.. _cn_api_paddle_cn_diag:
diag
-------------------------------
:doc_source: paddle.fluid.layers.diag
paddle.fluid.layers.diag
.. container:: doc_source
.. _cn_api_paddle_cn_disable_imperative:
disable_imperative
-------------------------------
:doc_source: paddle.fluid.dygraph.base.disable_dygraph
paddle.fluid.dygraph.base.disable_dygraph
.. container:: doc_source
.. _cn_api_paddle_cn_dist:
dist
-------------------------------
:doc_source: paddle.tensor.dist
paddle.tensor.dist
.. container:: doc_source
.. _cn_api_paddle_cn_div:
div
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_div
paddle.fluid.layers.elementwise_div
.. container:: doc_source
.. _cn_api_paddle_cn_dot:
dot
-------------------------------
:doc_source: paddle.tensor.dot
paddle.tensor.dot
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_add:
elementwise_add
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_add
paddle.fluid.layers.elementwise_add
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_div:
elementwise_div
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_div
paddle.fluid.layers.elementwise_div
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_equal:
elementwise_equal
-------------------------------
:doc_source: paddle.fluid.layers.equal
paddle.fluid.layers.equal
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_floordiv:
elementwise_floordiv
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_floordiv
paddle.fluid.layers.elementwise_floordiv
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_max:
elementwise_max
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_max
paddle.fluid.layers.elementwise_max
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_min:
elementwise_min
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_min
paddle.fluid.layers.elementwise_min
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_mod:
elementwise_mod
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_mod
paddle.fluid.layers.elementwise_mod
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_mul:
elementwise_mul
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_mul
paddle.fluid.layers.elementwise_mul
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_pow:
elementwise_pow
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_pow
paddle.fluid.layers.elementwise_pow
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_sub:
elementwise_sub
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_sub
paddle.fluid.layers.elementwise_sub
.. container:: doc_source
.. _cn_api_paddle_cn_elementwise_sum:
elementwise_sum
-------------------------------
:doc_source: paddle.tensor.elementwise_sum
paddle.tensor.elementwise_sum
.. container:: doc_source
.. _cn_api_paddle_cn_enable_imperative:
enable_imperative
-------------------------------
:doc_source: paddle.fluid.dygraph.base.enable_dygraph
paddle.fluid.dygraph.base.enable_dygraph
.. container:: doc_source
.. _cn_api_paddle_cn_equal:
equal
-------------------------------
:doc_source: paddle.tensor.equal
paddle.tensor.equal
.. container:: doc_source
.. _cn_api_paddle_cn_erf:
erf
-------------------------------
:doc_source: paddle.fluid.layers.erf
paddle.fluid.layers.erf
.. container:: doc_source
.. _cn_api_paddle_cn_exp:
exp
-------------------------------
:doc_source: paddle.fluid.layers.exp
paddle.fluid.layers.exp
.. container:: doc_source
.. _cn_api_paddle_cn_expand_as:
expand_as
-------------------------------
:doc_source: paddle.fluid.layers.expand_as
paddle.fluid.layers.expand_as
.. container:: doc_source
.. _cn_api_paddle_cn_expand:
expand
-------------------------------
:doc_source: paddle.fluid.layers.expand
paddle.fluid.layers.expand
.. container:: doc_source
.. _cn_api_paddle_cn_eye:
eye
-------------------------------
:doc_source: paddle.fluid.layers.eye
paddle.fluid.layers.eye
.. container:: doc_source
.. _cn_api_paddle_cn_fill_constant:
fill_constant
-------------------------------
:doc_source: paddle.fluid.layers.fill_constant
paddle.fluid.layers.fill_constant
.. container:: doc_source
.. _cn_api_paddle_cn_flatten:
flatten
-------------------------------
:doc_source: paddle.fluid.layers.flatten
paddle.fluid.layers.flatten
.. container:: doc_source
.. _cn_api_paddle_cn_flip:
flip
-------------------------------
:doc_source: paddle.tensor.flip
paddle.tensor.flip
.. container:: doc_source
.. _cn_api_paddle_cn_floor:
floor
-------------------------------
:doc_source: paddle.fluid.layers.floor
paddle.fluid.layers.floor
.. container:: doc_source
.. _cn_api_paddle_cn_full:
full
-------------------------------
:doc_source: paddle.fluid.layers.fill_constant
paddle.fluid.layers.fill_constant
.. container:: doc_source
.. _cn_api_paddle_cn_full_like:
full_like
-------------------------------
:doc_source: paddle.tensor.full_like
paddle.tensor.full_like
.. container:: doc_source
.. _cn_api_paddle_cn_gather:
gather
-------------------------------
:doc_source: paddle.fluid.layers.gather
paddle.fluid.layers.gather
.. container:: doc_source
.. _cn_api_paddle_cn_gather_nd:
gather_nd
-------------------------------
:doc_source: paddle.fluid.layers.gather_nd
paddle.fluid.layers.gather_nd
.. container:: doc_source
.. _cn_api_paddle_cn_global_scope:
global_scope
-------------------------------
:doc_source: paddle.fluid.executor.global_scope
paddle.fluid.executor.global_scope
.. container:: doc_source
.. _cn_api_paddle_cn_gradients:
gradients
-------------------------------
:doc_source: paddle.fluid.backward.gradients
paddle.fluid.backward.gradients
.. container:: doc_source
.. _cn_api_paddle_cn_greater_equal:
greater_equal
-------------------------------
:doc_source: paddle.fluid.layers.greater_equal
paddle.fluid.layers.greater_equal
.. container:: doc_source
.. _cn_api_paddle_cn_greater_than:
greater_than
-------------------------------
:doc_source: paddle.fluid.layers.greater_than
paddle.fluid.layers.greater_than
.. container:: doc_source
.. _cn_api_paddle_cn_has_inf:
has_inf
-------------------------------
:doc_source: paddle.fluid.layers.has_inf
paddle.fluid.layers.has_inf
.. container:: doc_source
.. _cn_api_paddle_cn_has_nan:
has_nan
-------------------------------
:doc_source: paddle.fluid.layers.has_nan
paddle.fluid.layers.has_nan
.. container:: doc_source
.. _cn_api_paddle_cn_in_imperative_mode:
in_imperative_mode
-------------------------------
:doc_source: paddle.fluid.framework.in_dygraph_mode
paddle.fluid.framework.in_dygraph_mode
.. container:: doc_source
.. _cn_api_paddle_cn_increment:
increment
-------------------------------
:doc_source: paddle.fluid.layers.increment
paddle.fluid.layers.increment
.. container:: doc_source
.. _cn_api_paddle_cn_index_sample:
index_sample
-------------------------------
:doc_source: paddle.tensor.index_sample
paddle.tensor.index_sample
.. container:: doc_source
.. _cn_api_paddle_cn_index_select:
index_select
-------------------------------
:doc_source: paddle.tensor.index_select
paddle.tensor.index_select
.. container:: doc_source
.. _cn_api_paddle_cn_inverse:
inverse
-------------------------------
:doc_source: paddle.tensor.inverse
paddle.tensor.inverse
.. container:: doc_source
.. _cn_api_paddle_cn_is_empty:
is_empty
-------------------------------
:doc_source: paddle.fluid.layers.is_empty
paddle.fluid.layers.is_empty
.. container:: doc_source
.. _cn_api_paddle_cn_isfinite:
isfinite
-------------------------------
:doc_source: paddle.fluid.layers.isfinite
paddle.fluid.layers.isfinite
.. container:: doc_source
.. _cn_api_paddle_cn_kron:
kron
-------------------------------
:doc_source: paddle.tensor.kron
paddle.tensor.kron
.. container:: doc_source
.. _cn_api_paddle_cn_less_equal:
less_equal
-------------------------------
:doc_source: paddle.fluid.layers.less_equal
paddle.fluid.layers.less_equal
.. container:: doc_source
.. _cn_api_paddle_cn_less_than:
less_than
-------------------------------
:doc_source: paddle.fluid.layers.less_than
paddle.fluid.layers.less_than
.. container:: doc_source
.. _cn_api_paddle_cn_linspace:
linspace
-------------------------------
:doc_source: paddle.fluid.layers.linspace
paddle.fluid.layers.linspace
.. container:: doc_source
.. _cn_api_paddle_cn_load:
load
-------------------------------
:doc_source: paddle.fluid.io.load
paddle.fluid.io.load
.. container:: doc_source
.. _cn_api_paddle_cn_log1p:
log1p
-------------------------------
:doc_source: paddle.tensor.log1p
paddle.tensor.log1p
.. container:: doc_source
.. _cn_api_paddle_cn_log:
log
-------------------------------
:doc_source: paddle.fluid.layers.log
paddle.fluid.layers.log
.. container:: doc_source
.. _cn_api_paddle_cn_logical_and:
logical_and
-------------------------------
:doc_source: paddle.fluid.layers.logical_and
paddle.fluid.layers.logical_and
.. container:: doc_source
.. _cn_api_paddle_cn_logical_not:
logical_not
-------------------------------
:doc_source: paddle.fluid.layers.logical_not
paddle.fluid.layers.logical_not
.. container:: doc_source
.. _cn_api_paddle_cn_logical_or:
logical_or
-------------------------------
:doc_source: paddle.fluid.layers.logical_or
paddle.fluid.layers.logical_or
.. container:: doc_source
.. _cn_api_paddle_cn_logical_xor:
logical_xor
-------------------------------
:doc_source: paddle.fluid.layers.logical_xor
paddle.fluid.layers.logical_xor
.. container:: doc_source
.. _cn_api_paddle_cn_logsumexp:
logsumexp
-------------------------------
:doc_source: paddle.tensor.logsumexp
paddle.tensor.logsumexp
.. container:: doc_source
.. _cn_api_paddle_cn_manual_seed:
manual_seed
-------------------------------
:doc_source: paddle.framework.manual_seed
paddle.framework.manual_seed
.. container:: doc_source
.. _cn_api_paddle_cn_matmul:
matmul
-------------------------------
:doc_source: paddle.tensor.matmul
paddle.tensor.matmul
.. container:: doc_source
.. _cn_api_paddle_cn_max:
max
-------------------------------
:doc_source: paddle.fluid.layers.reduce_max
paddle.fluid.layers.reduce_max
.. container:: doc_source
.. _cn_api_paddle_cn_mean:
mean
-------------------------------
:doc_source: paddle.fluid.layers.mean
paddle.fluid.layers.mean
.. container:: doc_source
.. _cn_api_paddle_cn_meshgrid:
meshgrid
-------------------------------
:doc_source: paddle.tensor.meshgrid
paddle.tensor.meshgrid
.. container:: doc_source
.. _cn_api_paddle_cn_min:
min
-------------------------------
:doc_source: paddle.fluid.layers.reduce_min
paddle.fluid.layers.reduce_min
.. container:: doc_source
.. _cn_api_paddle_cn_mm:
mm
-------------------------------
:doc_source: paddle.fluid.layers.matmul
paddle.fluid.layers.matmul
.. container:: doc_source
.. _cn_api_paddle_cn_mul:
mul
-------------------------------
:doc_source: paddle.fluid.layers.mul
paddle.fluid.layers.mul
.. container:: doc_source
.. _cn_api_paddle_cn_multiplex:
multiplex
-------------------------------
:doc_source: paddle.fluid.layers.multiplex
paddle.fluid.layers.multiplex
.. container:: doc_source
.. _cn_api_paddle_cn_name_scope:
name_scope
-------------------------------
:doc_source: paddle.fluid.framework.name_scope
paddle.fluid.framework.name_scope
.. container:: doc_source
.. _cn_api_paddle_cn_nonzero:
nonzero
-------------------------------
:doc_source: paddle.tensor.nonzero
paddle.tensor.nonzero
.. container:: doc_source
.. _cn_api_paddle_cn_norm:
norm
-------------------------------
:doc_source: paddle.fluid.layers.l2_normalize
paddle.fluid.layers.l2_normalize
.. container:: doc_source
.. _cn_api_paddle_cn_not_equal:
not_equal
-------------------------------
:doc_source: paddle.fluid.layers.not_equal
paddle.fluid.layers.not_equal
.. container:: doc_source
.. _cn_api_paddle_cn_ones:
ones
-------------------------------
:doc_source: paddle.fluid.layers.ones
paddle.fluid.layers.ones
.. container:: doc_source
.. _cn_api_paddle_cn_ones_like:
ones_like
-------------------------------
:doc_source: paddle.fluid.layers.ones_like
paddle.fluid.layers.ones_like
.. container:: doc_source
.. _cn_api_paddle_cn_pow:
pow
-------------------------------
:doc_source: paddle.fluid.layers.pow
paddle.fluid.layers.pow
.. container:: doc_source
.. _cn_api_paddle_cn_program_guard:
program_guard
-------------------------------
:doc_source: paddle.fluid.framework.program_guard
paddle.fluid.framework.program_guard
.. container:: doc_source
.. _cn_api_paddle_cn_py_func:
py_func
-------------------------------
:doc_source: paddle.fluid.layers.nn.py_func
paddle.fluid.layers.nn.py_func
.. container:: doc_source
.. _cn_api_paddle_cn_rand:
rand
-------------------------------
:doc_source: paddle.tensor.rand
paddle.tensor.rand
.. container:: doc_source
.. _cn_api_paddle_cn_randint:
randint
-------------------------------
:doc_source: paddle.tensor.randint
paddle.tensor.randint
.. container:: doc_source
.. _cn_api_paddle_cn_randn:
randn
-------------------------------
:doc_source: paddle.tensor.randn
paddle.tensor.randn
.. container:: doc_source
.. _cn_api_paddle_cn_randperm:
randperm
-------------------------------
:doc_source: paddle.tensor.randperm
paddle.tensor.randperm
.. container:: doc_source
.. _cn_api_paddle_cn_rank:
rank
-------------------------------
:doc_source: paddle.fluid.layers.rank
paddle.fluid.layers.rank
.. container:: doc_source
.. _cn_api_paddle_cn_reciprocal:
reciprocal
-------------------------------
:doc_source: paddle.fluid.layers.reciprocal
paddle.fluid.layers.reciprocal
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_all:
reduce_all
-------------------------------
:doc_source: paddle.fluid.layers.reduce_all
paddle.fluid.layers.reduce_all
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_any:
reduce_any
-------------------------------
:doc_source: paddle.fluid.layers.reduce_any
paddle.fluid.layers.reduce_any
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_max:
reduce_max
-------------------------------
:doc_source: paddle.fluid.layers.reduce_max
paddle.fluid.layers.reduce_max
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_mean:
reduce_mean
-------------------------------
:doc_source: paddle.fluid.layers.reduce_mean
paddle.fluid.layers.reduce_mean
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_min:
reduce_min
-------------------------------
:doc_source: paddle.fluid.layers.reduce_min
paddle.fluid.layers.reduce_min
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_prod:
reduce_prod
-------------------------------
:doc_source: paddle.fluid.layers.reduce_prod
paddle.fluid.layers.reduce_prod
.. container:: doc_source
.. _cn_api_paddle_cn_reduce_sum:
reduce_sum
-------------------------------
:doc_source: paddle.fluid.layers.reduce_sum
paddle.fluid.layers.reduce_sum
.. container:: doc_source
.. _cn_api_paddle_cn_reshape:
reshape
-------------------------------
:doc_source: paddle.fluid.layers.reshape
paddle.fluid.layers.reshape
.. container:: doc_source
.. _cn_api_paddle_cn_reverse:
reverse
-------------------------------
:doc_source: paddle.fluid.layers.reverse
paddle.fluid.layers.reverse
.. container:: doc_source
.. _cn_api_paddle_cn_roll:
roll
-------------------------------
:doc_source: paddle.tensor.roll
paddle.tensor.roll
.. container:: doc_source
.. _cn_api_paddle_cn_round:
round
-------------------------------
:doc_source: paddle.fluid.layers.round
paddle.fluid.layers.round
.. container:: doc_source
.. _cn_api_paddle_cn_rsqrt:
rsqrt
-------------------------------
:doc_source: paddle.fluid.layers.rsqrt
paddle.fluid.layers.rsqrt
.. container:: doc_source
.. _cn_api_paddle_cn_save:
save
-------------------------------
:doc_source: paddle.fluid.save
paddle.fluid.save
.. container:: doc_source
.. _cn_api_paddle_cn_scale:
scale
-------------------------------
:doc_source: paddle.fluid.layers.scale
paddle.fluid.layers.scale
.. container:: doc_source
.. _cn_api_paddle_cn_scatter:
scatter
-------------------------------
:doc_source: paddle.fluid.layers.scatter
paddle.fluid.layers.scatter
.. container:: doc_source
.. _cn_api_paddle_cn_scatter_nd_add:
scatter_nd_add
-------------------------------
:doc_source: paddle.fluid.layers.scatter_nd_add
paddle.fluid.layers.scatter_nd_add
.. container:: doc_source
.. _cn_api_paddle_cn_scatter_nd:
scatter_nd
-------------------------------
:doc_source: paddle.fluid.layers.scatter_nd
paddle.fluid.layers.scatter_nd
.. container:: doc_source
.. _cn_api_paddle_cn_scope_guard:
scope_guard
-------------------------------
:doc_source: paddle.fluid.executor.scope_guard
paddle.fluid.executor.scope_guard
.. container:: doc_source
.. _cn_api_paddle_cn_shape:
shape
-------------------------------
:doc_source: paddle.fluid.layers.shape
paddle.fluid.layers.shape
.. container:: doc_source
.. _cn_api_paddle_cn_shard_index:
shard_index
-------------------------------
:doc_source: paddle.fluid.layers.shard_index
paddle.fluid.layers.shard_index
.. container:: doc_source
.. _cn_api_paddle_cn_shuffle:
shuffle
-------------------------------
:doc_source: paddle.fluid.io.shuffle
paddle.fluid.io.shuffle
.. container:: doc_source
.. _cn_api_paddle_cn_sign:
sign
-------------------------------
:doc_source: paddle.fluid.layers.sign
paddle.fluid.layers.sign
.. container:: doc_source
.. _cn_api_paddle_cn_sin:
sin
-------------------------------
:doc_source: paddle.fluid.layers.sin
paddle.fluid.layers.sin
.. container:: doc_source
.. _cn_api_paddle_cn_slice:
slice
-------------------------------
:doc_source: paddle.fluid.layers.slice
paddle.fluid.layers.slice
.. container:: doc_source
.. _cn_api_paddle_cn_sort:
sort
-------------------------------
:doc_source: paddle.fluid.layers.argsort
paddle.fluid.layers.argsort
.. container:: doc_source
.. _cn_api_paddle_cn_split:
split
-------------------------------
:doc_source: paddle.fluid.layers.split
paddle.fluid.layers.split
.. container:: doc_source
.. _cn_api_paddle_cn_sqrt:
sqrt
-------------------------------
:doc_source: paddle.fluid.layers.sqrt
paddle.fluid.layers.sqrt
.. container:: doc_source
.. _cn_api_paddle_cn_square:
square
-------------------------------
:doc_source: paddle.fluid.layers.square
paddle.fluid.layers.square
.. container:: doc_source
.. _cn_api_paddle_cn_squeeze:
squeeze
-------------------------------
:doc_source: paddle.fluid.layers.squeeze
paddle.fluid.layers.squeeze
.. container:: doc_source
.. _cn_api_paddle_cn_stack:
stack
-------------------------------
:doc_source: paddle.fluid.layers.stack
paddle.fluid.layers.stack
.. container:: doc_source
.. _cn_api_paddle_cn_stanh:
stanh
-------------------------------
:doc_source: paddle.fluid.layers.stanh
paddle.fluid.layers.stanh
.. container:: doc_source
.. _cn_api_paddle_cn_std:
std
-------------------------------
:doc_source: paddle.tensor.std
paddle.tensor.std
.. container:: doc_source
.. _cn_api_paddle_cn_strided_slice:
strided_slice
-------------------------------
:doc_source: paddle.fluid.layers.strided_slice
paddle.fluid.layers.strided_slice
.. container:: doc_source
.. _cn_api_paddle_cn_sum:
sum
-------------------------------
:doc_source: paddle.fluid.layers.reduce_sum
paddle.fluid.layers.reduce_sum
.. container:: doc_source
.. _cn_api_paddle_cn_sums:
sums
-------------------------------
:doc_source: paddle.fluid.layers.sums
paddle.fluid.layers.sums
.. container:: doc_source
.. _cn_api_paddle_cn_t:
t
-------------------------------
:doc_source: paddle.tensor.t
paddle.tensor.t
.. container:: doc_source
.. _cn_api_paddle_cn_tanh:
tanh
-------------------------------
:doc_source: paddle.fluid.layers.tanh
paddle.fluid.layers.tanh
.. container:: doc_source
.. _cn_api_paddle_cn_topk:
topk
-------------------------------
:doc_source: paddle.fluid.layers.topk
paddle.fluid.layers.topk
.. container:: doc_source
.. _cn_api_paddle_cn_trace:
trace
-------------------------------
:doc_source: paddle.tensor.trace
paddle.tensor.trace
.. container:: doc_source
.. _cn_api_paddle_cn_transpose:
transpose
-------------------------------
:doc_source: paddle.fluid.layers.transpose
paddle.fluid.layers.transpose
.. container:: doc_source
.. _cn_api_paddle_cn_tril:
tril
-------------------------------
:doc_source: paddle.tensor.tril
paddle.tensor.tril
.. container:: doc_source
.. _cn_api_paddle_cn_triu:
triu
-------------------------------
:doc_source: paddle.tensor.triu
paddle.tensor.triu
.. container:: doc_source
.. _cn_api_paddle_cn_unbind:
unbind
-------------------------------
:doc_source: paddle.tensor.unbind
paddle.tensor.unbind
.. container:: doc_source
.. _cn_api_paddle_cn_unique:
unique
-------------------------------
:doc_source: paddle.fluid.layers.unique
paddle.fluid.layers.unique
.. container:: doc_source
.. _cn_api_paddle_cn_unique_with_counts:
unique_with_counts
-------------------------------
:doc_source: paddle.fluid.layers.unique_with_counts
paddle.fluid.layers.unique_with_counts
.. container:: doc_source
.. _cn_api_paddle_cn_unsqueeze:
unsqueeze
-------------------------------
:doc_source: paddle.fluid.layers.unsqueeze
paddle.fluid.layers.unsqueeze
.. container:: doc_source
.. _cn_api_paddle_cn_unstack:
unstack
-------------------------------
:doc_source: paddle.fluid.layers.unstack
paddle.fluid.layers.unstack
.. container:: doc_source
.. _cn_api_paddle_cn_var:
var
-------------------------------
:doc_source: paddle.tensor.var
paddle.tensor.var
.. container:: doc_source
.. _cn_api_paddle_cn_where:
where
-------------------------------
:doc_source: paddle.fluid.layers.cond
paddle.fluid.layers.cond
.. container:: doc_source
.. _cn_api_paddle_cn_zeros:
zeros
-------------------------------
:doc_source: paddle.fluid.layers.zeros
paddle.fluid.layers.zeros
.. container:: doc_source
.. _cn_api_paddle_cn_zeros_like:
zeros_like
-------------------------------
:doc_source: paddle.fluid.layers.zeros_like
paddle.fluid.layers.zeros_like
......@@ -8,48 +8,95 @@ paddle.tensor
.. toctree::
:maxdepth: 1
tensor_cn/addcmul_cn.rst
tensor_cn/acos_cn.rst
tensor_cn/add_cn.rst
tensor_cn/addcmul_cn.rst
tensor_cn/addmm_cn.rst
tensor_cn/allclose_cn.rst
tensor_cn/arange_cn.rst
tensor_cn/argmax_cn.rst
tensor_cn/argmin_cn.rst
tensor_cn/argsort_cn.rst
tensor_cn/asin_cn.rst
tensor_cn/atan_cn.rst
tensor_cn/bmm_cn.rst
tensor_cn/cast_cn.rst
tensor_cn/ceil_cn.rst
tensor_cn/cholesky_cn.rst
tensor_cn/clamp_cn.rst
tensor_cn/concat_cn.rst
tensor_cn/cond_cn.rst
tensor_cn/cos_cn.rst
tensor_cn/create_tensor_cn.rst
tensor_cn/crop_tensor_cn.rst
tensor_cn/cross_cn.rst
tensor_cn/cumsum_cn.rst
tensor_cn/diag_cn.rst
tensor_cn/dist_cn.rst
tensor_cn/div_cn.rst
tensor_cn/dot_cn.rst
tensor_cn/einsum_cn.rst
tensor_cn/elementwise_add_cn.rst
tensor_cn/elementwise_div_cn.rst
tensor_cn/elementwise_equal_cn.rst
tensor_cn/elementwise_floordiv_cn.rst
tensor_cn/elementwise_max_cn.rst
tensor_cn/elementwise_min_cn.rst
tensor_cn/elementwise_mod_cn.rst
tensor_cn/elementwise_mul_cn.rst
tensor_cn/elementwise_pow_cn.rst
tensor_cn/elementwise_sub_cn.rst
tensor_cn/elementwise_sum_cn.rst
tensor_cn/equal_cn.rst
tensor_cn/erf_cn.rst
tensor_cn/exp_cn.rst
tensor_cn/expand_as_cn.rst
tensor_cn/expand_cn.rst
tensor_cn/eye_cn.rst
tensor_cn/fill_constant_cn.rst
tensor_cn/flatten_cn.rst
tensor_cn/flip_cn.rst
tensor_cn/floor_cn.rst
tensor_cn/full_cn.rst
tensor_cn/full_like_cn.rst
tensor_cn/gather_cn.rst
tensor_cn/index_select_cn.rst
tensor_cn/gather_nd_cn.rst
tensor_cn/greater_equal_cn.rst
tensor_cn/greater_than_cn.rst
tensor_cn/has_inf_cn.rst
tensor_cn/has_nan_cn.rst
tensor_cn/increment_cn.rst
tensor_cn/index_sample_cn.rst
tensor_cn/index_select_cn.rst
tensor_cn/inverse_cn.rst
tensor_cn/is_empty_cn.rst
tensor_cn/isfinite_cn.rst
tensor_cn/isnan_cn.rst
tensor_cn/kron_cn.rst
tensor_cn/l2_normalize_cn.rst
tensor_cn/less_equal_cn.rst
tensor_cn/less_than_cn.rst
tensor_cn/linspace_cn.rst
tensor_cn/load_cn.rst
tensor_cn/log_cn.rst
tensor_cn/log1p_cn.rst
tensor_cn/logical_and_cn.rst
tensor_cn/logical_not_cn.rst
tensor_cn/logical_or_cn.rst
tensor_cn/logical_xor_cn.rst
tensor_cn/logsumexp_cn.rst
tensor_cn/math_cn.rst
tensor_cn/matmul_cn.rst
tensor_cn/max_cn.rst
tensor_cn/mean_cn.rst
tensor_cn/meshgrid_cn.rst
tensor_cn/min_cn.rst
tensor_cn/mm_cn.rst
tensor_cn/mul_cn.rst
tensor_cn/multiplex_cn.rst
tensor_cn/nonzero_cn.rst
tensor_cn/norm_cn.rst
tensor_cn/not_equal_cn.rst
tensor_cn/ones_cn.rst
tensor_cn/ones_like_cn.rst
tensor_cn/pow_cn.rst
......@@ -57,134 +104,57 @@ paddle.tensor
tensor_cn/randint_cn.rst
tensor_cn/randn_cn.rst
tensor_cn/randperm_cn.rst
tensor_cn/range_cn.rst
tensor_cn/rank_cn.rst
tensor_cn/reciprocal_cn.rst
tensor_cn/reduce_all_cn.rst
tensor_cn/reduce_any_cn.rst
tensor_cn/reduce_max_cn.rst
tensor_cn/reduce_mean_cn.rst
tensor_cn/reduce_min_cn.rst
tensor_cn/reduce_prod_cn.rst
tensor_cn/reduce_sum_cn.rst
tensor_cn/reshape_cn.rst
tensor_cn/reverse_cn.rst
tensor_cn/roll_cn.rst
tensor_cn/round_cn.rst
tensor_cn/rsqrt_cn.rst
tensor_cn/save_cn.rst
tensor_cn/scale_cn.rst
tensor_cn/scatter_cn.rst
tensor_cn/scatter_nd_add_cn.rst
tensor_cn/scatter_nd_cn.rst
tensor_cn/shape_cn.rst
tensor_cn/shard_index_cn.rst
tensor_cn/shuffle_cn.rst
tensor_cn/sign_cn.rst
tensor_cn/sin_cn.rst
tensor_cn/slice_cn.rst
tensor_cn/sort_cn.rst
tensor_cn/split_cn.rst
tensor_cn/sqrt_cn.rst
tensor_cn/square_cn.rst
tensor_cn/squeeze_cn.rst
tensor_cn/stack_cn.rst
tensor_cn/stanh_cn.rst
tensor_cn/std_cn.rst
tensor_cn/strided_slice_cn.rst
tensor_cn/sum_cn.rst
tensor_cn/tanh_cn.rst
tensor_cn/sums_cn.rst
tensor_cn/t_cn.rst
tensor_cn/tanh_cn.rst
tensor_cn/tensordot_cn.rst
tensor_cn/topk_cn.rst
tensor_cn/trace_cn.rst
tensor_cn/transpose_cn.rst
tensor_cn/tril_cn.rst
tensor_cn/triu_cn.rst
tensor_cn/unbind_cn.rst
tensor_cn/unique_cn.rst
tensor_cn/unique_with_counts_cn.rst
tensor_cn/unsqueeze_cn.rst
tensor_cn/unstack_cn.rst
tensor_cn/var_cn.rst
tensor_cn/where_cn.rst
tensor_cn/zeros_cn.rst
tensor_cn/zeros_like_cn.rsttensor_cn/abs_cn.rst
tensor_cn/acos_cn.rst
tensor_cn/add_cn.rst
tensor_cn/arange_cn.rst
tensor_cn/argmax_cn.rst
tensor_cn/argmin_cn.rst
tensor_cn/argsort_cn.rst
tensor_cn/asin_cn.rst
tensor_cn/atan_cn.rst
tensor_cn/cast_cn.rst
tensor_cn/ceil_cn.rst
tensor_cn/concat_cn.rst
tensor_cn/cos_cn.rst
tensor_cn/create_tensor_cn.rst
tensor_cn/crop_tensor_cn.rst
tensor_cn/cumsum_cn.rst
tensor_cn/diag_cn.rst
tensor_cn/div_cn.rst
tensor_cn/elementwise_add_cn.rst
tensor_cn/elementwise_div_cn.rst
tensor_cn/elementwise_equal_cn.rst
tensor_cn/elementwise_floordiv_cn.rst
tensor_cn/elementwise_max_cn.rst
tensor_cn/elementwise_min_cn.rst
tensor_cn/elementwise_mod_cn.rst
tensor_cn/elementwise_mul_cn.rst
tensor_cn/elementwise_pow_cn.rst
tensor_cn/elementwise_sub_cn.rst
tensor_cn/erf_cn.rst
tensor_cn/expand_as_cn.rst
tensor_cn/expand_cn.rst
tensor_cn/exp_cn.rst
tensor_cn/eye_cn.rst
tensor_cn/fill_constant_cn.rst
tensor_cn/flatten_cn.rst
tensor_cn/floor_cn.rst
tensor_cn/full_cn.rst
tensor_cn/gather_cn.rst
tensor_cn/gather_nd_cn.rst
tensor_cn/greater_equal_cn.rst
tensor_cn/greater_than_cn.rst
tensor_cn/has_inf_cn.rst
tensor_cn/has_nan_cn.rst
tensor_cn/increment_cn.rst
tensor_cn/isfinite_cn.rst
tensor_cn/is_empty_cn.rst
tensor_cn/less_equal_cn.rst
tensor_cn/less_than_cn.rst
tensor_cn/linspace_cn.rst
tensor_cn/load_cn.rst
tensor_cn/logical_and_cn.rst
tensor_cn/logical_not_cn.rst
tensor_cn/logical_or_cn.rst
tensor_cn/logical_xor_cn.rst
tensor_cn/log_cn.rst
tensor_cn/max_cn.rst
tensor_cn/mean_cn.rst
tensor_cn/min_cn.rst
tensor_cn/mm_cn.rst
tensor_cn/multiplex_cn.rst
tensor_cn/mul_cn.rst
tensor_cn/norm_cn.rst
tensor_cn/not_equal_cn.rst
tensor_cn/ones_cn.rst
tensor_cn/ones_like_cn.rst
tensor_cn/pow_cn.rst
tensor_cn/rank_cn.rst
tensor_cn/reciprocal_cn.rst
tensor_cn/reduce_all_cn.rst
tensor_cn/reduce_any_cn.rst
tensor_cn/reduce_max_cn.rst
tensor_cn/reduce_mean_cn.rst
tensor_cn/reduce_min_cn.rst
tensor_cn/reduce_prod_cn.rst
tensor_cn/reduce_sum_cn.rst
tensor_cn/reshape_cn.rst
tensor_cn/reverse_cn.rst
tensor_cn/round_cn.rst
tensor_cn/rsqrt_cn.rst
tensor_cn/save_cn.rst
tensor_cn/scale_cn.rst
tensor_cn/scatter_cn.rst
tensor_cn/scatter_nd_add_cn.rst
tensor_cn/scatter_nd_cn.rst
tensor_cn/shape_cn.rst
tensor_cn/shard_index_cn.rst
tensor_cn/shuffle_cn.rst
tensor_cn/sign_cn.rst
tensor_cn/sin_cn.rst
tensor_cn/slice_cn.rst
tensor_cn/sort_cn.rst
tensor_cn/split_cn.rst
tensor_cn/sqrt_cn.rst
tensor_cn/square_cn.rst
tensor_cn/squeeze_cn.rst
tensor_cn/stack_cn.rst
tensor_cn/stanh_cn.rst
tensor_cn/strided_slice_cn.rst
tensor_cn/sums_cn.rst
tensor_cn/sum_cn.rst
tensor_cn/tanh_cn.rst
tensor_cn/topk_cn.rst
tensor_cn/transpose_cn.rst
tensor_cn/unique_cn.rst
tensor_cn/unique_with_counts_cn.rst
tensor_cn/unsqueeze_cn.rst
tensor_cn/unstack_cn.rst
tensor_cn/where_cn.rst
tensor_cn/zeros_cn.rst
tensor_cn/zeros_like_cn.rst
tensor_cn/zeros_like_cn.rst
.. container:: doc_source
.. _cn_api_tensor_cn_abs:
abs
-------------------------------
:doc_source: paddle.fluid.layers.abs
paddle.fluid.layers.abs
.. container:: doc_source
.. _cn_api_tensor_cn_acos:
acos
-------------------------------
:doc_source: paddle.fluid.layers.acos
paddle.fluid.layers.acos
.. container:: doc_source
.. _cn_api_tensor_cn_argmin:
argmin
-------------------------------
:doc_source: paddle.fluid.layers.argmin
paddle.fluid.layers.argmin
.. container:: doc_source
.. _cn_api_tensor_cn_argsort:
argsort
-------------------------------
:doc_source: paddle.fluid.layers.argsort
paddle.fluid.layers.argsort
.. container:: doc_source
.. _cn_api_tensor_cn_asin:
asin
-------------------------------
:doc_source: paddle.fluid.layers.asin
paddle.fluid.layers.asin
.. container:: doc_source
.. _cn_api_tensor_cn_cast:
cast
-------------------------------
:doc_source: paddle.fluid.layers.cast
paddle.fluid.layers.cast
.. container:: doc_source
.. _cn_api_tensor_cn_ceil:
ceil
-------------------------------
:doc_source: paddle.fluid.layers.ceil
paddle.fluid.layers.ceil
.. container:: doc_source
.. _cn_api_tensor_cn_cos:
cos
-------------------------------
:doc_source: paddle.fluid.layers.cos
paddle.fluid.layers.cos
.. container:: doc_source
.. _cn_api_tensor_cn_create_tensor:
create_tensor
-------------------------------
:doc_source: paddle.fluid.layers.create_tensor
paddle.fluid.layers.create_tensor
.. container:: doc_source
.. _cn_api_tensor_cn_crop_tensor:
crop_tensor
-------------------------------
:doc_source: paddle.fluid.layers.crop_tensor
paddle.fluid.layers.crop_tensor
.. container:: doc_source
.. _cn_api_tensor_cn_cumsum:
cumsum
-------------------------------
:doc_source: paddle.fluid.layers.cumsum
paddle.fluid.layers.cumsum
.. container:: doc_source
.. _cn_api_tensor_cn_diag:
diag
-------------------------------
:doc_source: paddle.fluid.layers.diag
paddle.fluid.layers.diag
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_add:
elementwise_add
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_add
paddle.fluid.layers.elementwise_add
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_div:
elementwise_div
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_div
paddle.fluid.layers.elementwise_div
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_floordiv:
elementwise_floordiv
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_floordiv
paddle.fluid.layers.elementwise_floordiv
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_max:
elementwise_max
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_max
paddle.fluid.layers.elementwise_max
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_min:
elementwise_min
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_min
paddle.fluid.layers.elementwise_min
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_mod:
elementwise_mod
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_mod
paddle.fluid.layers.elementwise_mod
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_mul:
elementwise_mul
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_mul
paddle.fluid.layers.elementwise_mul
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_pow:
elementwise_pow
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_pow
paddle.fluid.layers.elementwise_pow
.. container:: doc_source
.. _cn_api_tensor_cn_elementwise_sub:
elementwise_sub
-------------------------------
:doc_source: paddle.fluid.layers.elementwise_sub
paddle.fluid.layers.elementwise_sub
.. container:: doc_source
.. _cn_api_tensor_cn_exp:
exp
-------------------------------
:doc_source: paddle.fluid.layers.exp
paddle.fluid.layers.exp
.. container:: doc_source
.. _cn_api_tensor_cn_expand_as:
expand_as
-------------------------------
:doc_source: paddle.fluid.layers.expand_as
paddle.fluid.layers.expand_as
.. container:: doc_source
.. _cn_api_tensor_cn_expand:
expand
-------------------------------
:doc_source: paddle.fluid.layers.expand
paddle.fluid.layers.expand
.. container:: doc_source
.. _cn_api_tensor_cn_fill_constant:
fill_constant
-------------------------------
:doc_source: paddle.fluid.layers.fill_constant
paddle.fluid.layers.fill_constant
.. container:: doc_source
.. _cn_api_tensor_cn_flatten:
flatten
-------------------------------
:doc_source: paddle.fluid.layers.flatten
paddle.fluid.layers.flatten
.. container:: doc_source
.. _cn_api_tensor_cn_floor:
floor
-------------------------------
:doc_source: paddle.fluid.layers.floor
paddle.fluid.layers.floor
.. container:: doc_source
.. _cn_api_tensor_cn_gather_nd:
gather_nd
-------------------------------
:doc_source: paddle.fluid.layers.gather_nd
paddle.fluid.layers.gather_nd
.. container:: doc_source
.. _cn_api_tensor_cn_greater_equal:
greater_equal
-------------------------------
:doc_source: paddle.fluid.layers.greater_equal
paddle.fluid.layers.greater_equal
.. container:: doc_source
.. _cn_api_tensor_cn_greater_than:
greater_than
-------------------------------
:doc_source: paddle.fluid.layers.greater_than
paddle.fluid.layers.greater_than
.. container:: doc_source
.. _cn_api_tensor_cn_has_inf:
has_inf
-------------------------------
:doc_source: paddle.fluid.layers.has_inf
paddle.fluid.layers.has_inf
.. container:: doc_source
.. _cn_api_tensor_cn_has_nan:
has_nan
-------------------------------
:doc_source: paddle.fluid.layers.has_nan
paddle.fluid.layers.has_nan
.. container:: doc_source
.. _cn_api_tensor_cn_increment:
increment
-------------------------------
:doc_source: paddle.fluid.layers.increment
paddle.fluid.layers.increment
.. container:: doc_source
.. _cn_api_tensor_cn_is_empty:
is_empty
-------------------------------
:doc_source: paddle.fluid.layers.is_empty
paddle.fluid.layers.is_empty
.. container:: doc_source
.. _cn_api_tensor_cn_isfinite:
isfinite
-------------------------------
:doc_source: paddle.fluid.layers.isfinite
paddle.fluid.layers.isfinite
.. container:: doc_source
.. _cn_api_tensor_cn_less_equal:
less_equal
-------------------------------
:doc_source: paddle.fluid.layers.less_equal
paddle.fluid.layers.less_equal
.. container:: doc_source
.. _cn_api_tensor_cn_less_than:
less_than
-------------------------------
:doc_source: paddle.fluid.layers.less_than
paddle.fluid.layers.less_than
.. container:: doc_source
.. _cn_api_tensor_cn_load:
load
-------------------------------
:doc_source: paddle.fluid.io.load
paddle.fluid.io.load
.. container:: doc_source
.. _cn_api_tensor_cn_log:
log
-------------------------------
:doc_source: paddle.fluid.layers.log
paddle.fluid.layers.log
.. container:: doc_source
.. _cn_api_tensor_cn_logical_and:
logical_and
-------------------------------
:doc_source: paddle.fluid.layers.logical_and
paddle.fluid.layers.logical_and
.. container:: doc_source
.. _cn_api_tensor_cn_logical_not:
logical_not
-------------------------------
:doc_source: paddle.fluid.layers.logical_not
paddle.fluid.layers.logical_not
.. container:: doc_source
.. _cn_api_tensor_cn_logical_or:
logical_or
-------------------------------
:doc_source: paddle.fluid.layers.logical_or
paddle.fluid.layers.logical_or
.. container:: doc_source
.. _cn_api_tensor_cn_logical_xor:
logical_xor
-------------------------------
:doc_source: paddle.fluid.layers.logical_xor
paddle.fluid.layers.logical_xor
.. container:: doc_source
.. _cn_api_tensor_cn_mean:
mean
-------------------------------
:doc_source: paddle.fluid.layers.mean
paddle.fluid.layers.mean
.. container:: doc_source
.. _cn_api_tensor_cn_multiplex:
multiplex
-------------------------------
:doc_source: paddle.fluid.layers.multiplex
paddle.fluid.layers.multiplex
.. container:: doc_source
.. _cn_api_tensor_cn_not_equal:
not_equal
-------------------------------
:doc_source: paddle.fluid.layers.not_equal
paddle.fluid.layers.not_equal
.. container:: doc_source
.. _cn_api_tensor_cn_rank:
rank
-------------------------------
:doc_source: paddle.fluid.layers.rank
paddle.fluid.layers.rank
.. container:: doc_source
.. _cn_api_tensor_cn_reciprocal:
reciprocal
-------------------------------
:doc_source: paddle.fluid.layers.reciprocal
paddle.fluid.layers.reciprocal
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_all:
reduce_all
-------------------------------
:doc_source: paddle.fluid.layers.reduce_all
paddle.fluid.layers.reduce_all
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_any:
reduce_any
-------------------------------
:doc_source: paddle.fluid.layers.reduce_any
paddle.fluid.layers.reduce_any
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_max:
reduce_max
-------------------------------
:doc_source: paddle.fluid.layers.reduce_max
paddle.fluid.layers.reduce_max
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_mean:
reduce_mean
-------------------------------
:doc_source: paddle.fluid.layers.reduce_mean
paddle.fluid.layers.reduce_mean
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_min:
reduce_min
-------------------------------
:doc_source: paddle.fluid.layers.reduce_min
paddle.fluid.layers.reduce_min
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_prod:
reduce_prod
-------------------------------
:doc_source: paddle.fluid.layers.reduce_prod
paddle.fluid.layers.reduce_prod
.. container:: doc_source
.. _cn_api_tensor_cn_reduce_sum:
reduce_sum
-------------------------------
:doc_source: paddle.fluid.layers.reduce_sum
paddle.fluid.layers.reduce_sum
.. container:: doc_source
.. _cn_api_tensor_cn_reshape:
reshape
-------------------------------
:doc_source: paddle.fluid.layers.reshape
paddle.fluid.layers.reshape
.. container:: doc_source
.. _cn_api_tensor_cn_reverse:
reverse
-------------------------------
:doc_source: paddle.fluid.layers.reverse
paddle.fluid.layers.reverse
.. container:: doc_source
.. _cn_api_tensor_cn_round:
round
-------------------------------
:doc_source: paddle.fluid.layers.round
paddle.fluid.layers.round
.. container:: doc_source
.. _cn_api_tensor_cn_rsqrt:
rsqrt
-------------------------------
:doc_source: paddle.fluid.layers.rsqrt
paddle.fluid.layers.rsqrt
.. container:: doc_source
.. _cn_api_tensor_cn_save:
save
-------------------------------
:doc_source: paddle.fluid.save
paddle.fluid.save
.. container:: doc_source
.. _cn_api_tensor_cn_scale:
scale
-------------------------------
:doc_source: paddle.fluid.layers.scale
paddle.fluid.layers.scale
.. container:: doc_source
.. _cn_api_tensor_cn_scatter:
scatter
-------------------------------
:doc_source: paddle.fluid.layers.scatter
paddle.fluid.layers.scatter
.. container:: doc_source
.. _cn_api_tensor_cn_scatter_nd_add:
scatter_nd_add
-------------------------------
:doc_source: paddle.fluid.layers.scatter_nd_add
paddle.fluid.layers.scatter_nd_add
.. container:: doc_source
.. _cn_api_tensor_cn_scatter_nd:
scatter_nd
-------------------------------
:doc_source: paddle.fluid.layers.scatter_nd
paddle.fluid.layers.scatter_nd
.. container:: doc_source
.. _cn_api_tensor_cn_shape:
shape
-------------------------------
:doc_source: paddle.fluid.layers.shape
paddle.fluid.layers.shape
.. container:: doc_source
.. _cn_api_tensor_cn_shard_index:
shard_index
-------------------------------
:doc_source: paddle.fluid.layers.shard_index
paddle.fluid.layers.shard_index
.. container:: doc_source
.. _cn_api_tensor_cn_shuffle:
shuffle
-------------------------------
:doc_source: paddle.fluid.io.shuffle
paddle.fluid.io.shuffle
.. container:: doc_source
.. _cn_api_tensor_cn_sign:
sign
-------------------------------
:doc_source: paddle.fluid.layers.sign
paddle.fluid.layers.sign
.. container:: doc_source
.. _cn_api_tensor_cn_slice:
slice
-------------------------------
:doc_source: paddle.fluid.layers.slice
paddle.fluid.layers.slice
.. container:: doc_source
.. _cn_api_tensor_cn_square:
square
-------------------------------
:doc_source: paddle.fluid.layers.square
paddle.fluid.layers.square
.. container:: doc_source
.. _cn_api_tensor_cn_stanh:
stanh
-------------------------------
:doc_source: paddle.fluid.layers.stanh
paddle.fluid.layers.stanh
.. container:: doc_source
.. _cn_api_tensor_cn_strided_slice:
strided_slice
-------------------------------
:doc_source: paddle.fluid.layers.strided_slice
paddle.fluid.layers.strided_slice
.. container:: doc_source
.. _cn_api_tensor_cn_sums:
sums
-------------------------------
:doc_source: paddle.fluid.layers.sums
paddle.fluid.layers.sums
.. container:: doc_source
.. _cn_api_tensor_cn_topk:
topk
-------------------------------
:doc_source: paddle.fluid.layers.topk
paddle.fluid.layers.topk
.. container:: doc_source
.. _cn_api_tensor_cn_unique:
unique
-------------------------------
:doc_source: paddle.fluid.layers.unique
paddle.fluid.layers.unique
.. container:: doc_source
.. _cn_api_tensor_cn_unique_with_counts:
unique_with_counts
-------------------------------
:doc_source: paddle.fluid.layers.unique_with_counts
paddle.fluid.layers.unique_with_counts
.. container:: doc_source
.. _cn_api_tensor_cn_unstack:
unstack
-------------------------------
:doc_source: paddle.fluid.layers.unstack
paddle.fluid.layers.unstack
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册