diff --git a/python/paddle/tensor/math.py b/python/paddle/tensor/math.py index ad65a22dfae92e99de4273357e9dc47b56ffb8a8..7e0b2e5424dade976f6e482078e9a32cfdf4ca43 100644 --- a/python/paddle/tensor/math.py +++ b/python/paddle/tensor/math.py @@ -94,7 +94,7 @@ def log(x, name=None): .. math:: - Out = \\ln(x) + Out = \ln(x) Args: 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): .. math:: - out = b * \\frac{e^{a * x} - e^{-a * x}}{e^{a * x} + e^{-a * x}} + out = b * \frac{e^{a * x} - e^{-a * x}}{e^{a * x} + e^{-a * x}} Parameters: x (Tensor): The input Tensor with data type float32, float64. @@ -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`` . .. math:: - logsumexp(x) = \\log\\sum exp(x) + logsumexp(x) = \log\sum exp(x) Args: x (Tensor): The input Tensor with data type float32 or float64, which @@ -2417,7 +2417,7 @@ def log1p(x, name=None): Calculates the natural log of the given input tensor, element-wise. .. math:: - Out = \\ln(x+1) + Out = \ln(x+1) Args: x (Tensor): Input Tensor. Must be one of the following types: float32, float64. @@ -2455,7 +2455,7 @@ def log2(x, name=None): .. math:: - Out = \\log_2x + Out = \log_2x Args: x (Tensor): Input tensor must be one of the following types: float32, float64. @@ -2507,7 +2507,7 @@ def log10(x, name=None): .. math:: - Out = \\log_10_x + Out = \log_10_x Args: x (Tensor): Input tensor must be one of the following types: float32, float64. @@ -3289,7 +3289,7 @@ def tanh(x, name=None): Tanh Activation Operator. .. math:: - out = \\frac{e^{x} - e^{-x}}{e^{x} + e^{-x}} + out = \frac{e^{x} - e^{-x}}{e^{x} + e^{-x}} Args: x (Tensor): Input of Tanh operator, an N-D Tensor, with data type float32, float64 or float16.