Function fix

  • Alias for trunc.

    Plot of trunc and its gradient

    Calculates:

    output = trunc(input)
    

    Gradient:

    inputGrad = 0
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc