Function log1p

  • Plot of log1p and its gradient

    Calculates:

    output = log(input + 1.0)
    

    Gradient:

    inputGrad = outputGrad / (input + 1.0)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc