提交 c4fc9f36 编写于 作者: H hong19860320 提交者: cyj1986

update the description of name for floor and hard_sigmoid op (#1419)

* update the description of name for floor and hard_sigmoid op

* update the description of name for floor op
上级 44e40958
......@@ -12,7 +12,7 @@ floor
参数:
- **x** - 该OP的输入为多维Tensor。数据类型必须为float32或float64。
- **name** (str, 可选) - 该参数供开发人员打印调试信息时使用,具体用法请参见 :ref:`api_guide_Name`,默认值为None。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name` ,一般无需设置,默认值为None。
返回:输出为Tensor,与 ``x`` 维度相同、数据类型相同。
......
......@@ -15,7 +15,7 @@ sigmoid的分段线性逼近激活函数,速度比sigmoid快,详细解释参
- **x** (Variable) - 该OP的输入为多维Tensor。数据类型必须为float32或float64。
- **slope** (float,可选) - 斜率。值必须为正数,默认值为0.2。
- **offset** (float,可选) - 偏移量。默认值为0.5。
- **name** (str, 可选) - 该参数供开发人员打印调试信息时使用,具体用法请参见 :ref:`api_guide_Name`,默认值为None。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name` ,一般无需设置,默认值为None。
返回:激活后的Tensor,形状、数据类型和 ``x`` 一致。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册