diff --git a/doc/fluid/api_cn/layers_cn/soft_relu_cn.rst b/doc/fluid/api_cn/layers_cn/soft_relu_cn.rst index 048d2b5387b56921704ed9c30a6a727c1c791f3e..0226abd43b6ba1e0ff76c37741fc1119c4f81747 100644 --- a/doc/fluid/api_cn/layers_cn/soft_relu_cn.rst +++ b/doc/fluid/api_cn/layers_cn/soft_relu_cn.rst @@ -7,7 +7,7 @@ soft_relu SoftReLU 激活函数. -.. math:: out=ln(1+exp(max(min(x,threshold),threshold))) +.. math:: out=ln(1+exp(max(min(x,threshold),-threshold))) 参数: - **x** (Variable) - SoftReLU激活函数的输入,为数据类型为float32,float64的多维Tensor或者LoDTensor。