Show / Hide Table of Contents

    Method Exp

    static member Exp: Tensor<'T> -> Tensor<'T>

    Element-wise exponential function.

    Declaration
    static member Exp: a:Tensor<'T> -> Tensor<'T>
    Parameters
    Type Name Description
    Tensor<'T> a

    The tensor to apply this operation to.

    Returns
    Type Description
    Tensor<'T>

    A new tensor containing the result of this operation.

    Remarks

    Computes the exponential function of each element of the specified tensor and returns them as a new tensor. Do not call this function directly; instead use the F# exp function.

    Examples
     let a = HostTensor.ofList [-1.0; 0.0; 1.0; 10.0]
     let b = exp a // b = [0.36787; 1.0; 2.71828; 22026.4657]
    See Also
    member FillExp: Tensor<'T> -> unit
    static member Log: Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX