Function expm1

  • Plot of expm1 and its gradient

    Calculates:

    output = exp(input) - 1.0
    

    Gradient:

    inputGrad = outputGrad * exp(input)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc