Function round

  • Plot of round and its gradient

    Calculates:

    output = round(input)
    

    Gradient:

    inputGrad = 0
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc