log1p(x, out=None, name=None)
Calculates the natural log of the given input tensor, element-wise. .. math:
Out = \ln(x+1)
x (Variable) – Input LoDTensor or Tensor. Must be one of the following types: float32, float64.
out (Variable, optional) – Optional output which can be any created Variable that meets the requirements to store the result of operation. if out is None, a new Varibale will be create to store the result.
name (str, optional) – The default value is None. Normally there is no need for user to set this property. For more information, please refer to Name
The natural log of the input LoDTensor or Tensor computed element-wise.
- Return type