Function cosh

  • Plot of cosh and its gradient

    Calculates:

    output = cosh(input)
    

    Gradient:

    inputGrad = outputGrad * sinh(input)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc