Function exp

  • Plot of exp and its gradient

    Calculates:

    output = exp(input)
    

    Gradient:

    inputGrad = outputGrad * exp(input)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc