Show / Hide Table of Contents

    Method Log10

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

    Element-wise common logarithm.

    Declaration
    static member Log10: 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 common logarithm (to base 10) of each element of the specified tensor and returns them as a new tensor. Do not call this function directly; instead use the F# log10 function.

    Examples
     let a = HostTensor.ofList [1.0; 10.0; 100.0]
     let b = log10 a // b = [0.0; 1.0; 2.0]
    See Also
    member FillLog10: Tensor<'T> -> unit
    static member Log: Tensor<'T> -> Tensor<'T>
    Back to top Generated by DocFX