Show / Hide Table of Contents

    Method argMin

    static member argMin: Tensor<'T> -> int64 list

    Finds the indicies of the minimum value of the tensor.

    Declaration
    static member argMin: a:Tensor<'T> -> int64 list
    Parameters
    Type Name Description
    Tensor<'T> a

    The tensor containing the source values.

    Returns
    Type Description
    int64 list

    The indices of the position of the minimum value.

    Remarks

    The minimum value within the specified tensor is found and its indicies are returned. The function fails for an empty tensor.

    Examples
     let a = HostTensor.ofList2D [[1.0; 2.0; 3.0; 4.0]
                                  [5.0; 6.0; 7.0; 8.0]]
     let b = Tensor.argMin 1 a // b = [0L; 0L]
    See Also
    static member argMinAxis: int -> Tensor<'T> -> Tensor<int64>
    Back to top Generated by DocFX