Function acos

  • Plot of acos and its gradient

    Calculates:

    output = acos(input)
    

    Gradient:

    inputGrad = -outputGrad / sqrt(1 - input * input)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc