Function log2

  • Plot of log2 and its gradient

    Calculates:

    output = log2(input)
    

    Gradient:

    inputGrad = outputGrad / (input * 0.6931471805599453)
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc