Function exp2

  • Plot of exp2 and its gradient

    Calculates:

    output = exp2(input)
    

    Gradient:

    inputGrad = outputGrad * exp2(input) * 0.6931471805599453
    

    Parameters

    • input: Tensor

      the input tensor of any shape

    Returns Tensor

    the output tensor

Generated using TypeDoc