Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
f5ac9961
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
f5ac9961
编写于
4月 21, 2022
作者:
D
David Nicolas
提交者:
GitHub
4月 21, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix api math equation dispaly issue; test=document_fix (#42058)
上级
94ffda57
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
python/paddle/tensor/math.py
python/paddle/tensor/math.py
+7
-7
未找到文件。
python/paddle/tensor/math.py
浏览文件 @
f5ac9961
...
@@ -94,7 +94,7 @@ def log(x, name=None):
...
@@ -94,7 +94,7 @@ def log(x, name=None):
.. math::
.. math::
Out = \
\
ln(x)
Out = \ln(x)
Args:
Args:
x (Tensor): Input Tensor. Must be one of the following types: float32, float64.
x (Tensor): Input Tensor. Must be one of the following types: float32, float64.
...
@@ -213,7 +213,7 @@ def stanh(x, scale_a=0.67, scale_b=1.7159, name=None):
...
@@ -213,7 +213,7 @@ def stanh(x, scale_a=0.67, scale_b=1.7159, name=None):
.. math::
.. math::
out = b *
\
\
frac{e^{a * x} - e^{-a * x}}{e^{a * x} + e^{-a * x}}
out = b *
\f
rac{e^{a * x} - e^{-a * x}}{e^{a * x} + e^{-a * x}}
Parameters:
Parameters:
x (Tensor): The input Tensor with data type float32, float64.
x (Tensor): The input Tensor with data type float32, float64.
...
@@ -1848,7 +1848,7 @@ def logsumexp(x, axis=None, keepdim=False, name=None):
...
@@ -1848,7 +1848,7 @@ def logsumexp(x, axis=None, keepdim=False, name=None):
This OP calculates the log of the sum of exponentials of ``x`` along ``axis`` .
This OP calculates the log of the sum of exponentials of ``x`` along ``axis`` .
.. math::
.. math::
logsumexp(x) = \
\log\
\sum exp(x)
logsumexp(x) = \
log
\sum exp(x)
Args:
Args:
x (Tensor): The input Tensor with data type float32 or float64, which
x (Tensor): The input Tensor with data type float32 or float64, which
...
@@ -2417,7 +2417,7 @@ def log1p(x, name=None):
...
@@ -2417,7 +2417,7 @@ def log1p(x, name=None):
Calculates the natural log of the given input tensor, element-wise.
Calculates the natural log of the given input tensor, element-wise.
.. math::
.. math::
Out = \
\
ln(x+1)
Out = \ln(x+1)
Args:
Args:
x (Tensor): Input Tensor. Must be one of the following types: float32, float64.
x (Tensor): Input Tensor. Must be one of the following types: float32, float64.
...
@@ -2455,7 +2455,7 @@ def log2(x, name=None):
...
@@ -2455,7 +2455,7 @@ def log2(x, name=None):
.. math::
.. math::
Out = \
\
log_2x
Out = \log_2x
Args:
Args:
x (Tensor): Input tensor must be one of the following types: float32, float64.
x (Tensor): Input tensor must be one of the following types: float32, float64.
...
@@ -2507,7 +2507,7 @@ def log10(x, name=None):
...
@@ -2507,7 +2507,7 @@ def log10(x, name=None):
.. math::
.. math::
Out = \
\
log_10_x
Out = \log_10_x
Args:
Args:
x (Tensor): Input tensor must be one of the following types: float32, float64.
x (Tensor): Input tensor must be one of the following types: float32, float64.
...
@@ -3289,7 +3289,7 @@ def tanh(x, name=None):
...
@@ -3289,7 +3289,7 @@ def tanh(x, name=None):
Tanh Activation Operator.
Tanh Activation Operator.
.. math::
.. math::
out = \
\
frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}
out = \frac{e^{x} - e^{-x}}{e^{x} + e^{-x}}
Args:
Args:
x (Tensor): Input of Tanh operator, an N-D Tensor, with data type float32, float64 or float16.
x (Tensor): Input of Tanh operator, an N-D Tensor, with data type float32, float64 or float16.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录