Function deg2rad

  • Plot of deg2rad and its gradient

    Calculates:

    output = input * 0.017453292519943295
    

    Gradient:

    inputGrad = outputGrad * 0.017453292519943295
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc