Function log

  • Plot of log and its gradient

    Calculates:

    output = log(input)
    

    Gradient:

    inputGrad = outputGrad / input
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc