未验证 提交 3b9de3d9 编写于 作者: T Tao Luo 提交者: GitHub

add Name and ParamAttr index (#1192)

* add Name and ParamAttr index

* add default value
上级 5a7a96b4
......@@ -13,7 +13,7 @@ abs
参数:
- **x** - abs算子的输入
- **use_cudnn** (BOOLEAN) – (bool,默认为false)是否仅用于cudnn核,需要安装cudnn
- **name** (None|str) – 该参数供开发人员打印调试信息时使用,具体用法请参见 :ref:`api_guide_Name` ,默认值为None。
返回: abs算子的输出。
......
......@@ -65,6 +65,17 @@ Fluid 中的 :code:`Variable` 可以包含任何类型的值———在大多
模型中所有的可学习参数都以 :code:`Variable` 的形式保留在内存空间中,您在绝大多数情况下都不需要自己来创建网络中的可学习参数, Fluid 为几乎常见的神经网络基本计算模块都提供了封装。以最简单的全连接模型为例,调用 :code:`fluid.layers.fc` 会直接为全连接层创建连接权值( W )和偏置( bias )两个可学习参数,无需显示地调用 :code:`variable` 相关接口创建可学习参数。
.. _api_guide_Name:
=========
Name
=========
.. _api_guide_ParamAttr:
=========
ParamAttr
=========
=========
相关API
......
......@@ -64,6 +64,18 @@ In Fluid, :code:`Variable` can contain any type of value -- in most cases a Lo
All the learnable parameters in the model are kept in the memory space in form of :code:`Variable` . In most cases, you do not need to create the learnable parameters in the network by yourself. Fluid provides encapsulation for almost common basic computing modules of the neural network. Taking the simplest full connection model as an example, calling :code:`fluid.layers.fc` directly creates two learnable parameters for the full connection layer, namely, connection weight (W) and bias, without explicitly calling :code:`Variable` related interfaces to create learnable parameters.
.. _api_guide_Name:
=========
Name
=========
.. _api_guide_ParamAttr:
=========
ParamAttr
=========
==================
Related API
==================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册