docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ArgMin

    ArgMin(TensorFloat, TensorInt, int, bool, bool)

    Computes the indices of the minimum elements of the input tensor along a given axis.

    Declaration
    public override void ArgMin(TensorFloat X, TensorInt O, int axis, bool keepdim, bool selectLastIndex)
    Parameters
    Type Name Description
    TensorFloat X

    The input tensor.

    TensorInt O

    The output tensor to be computed and filled.

    int axis

    The axis along which to reduce.

    bool keepdim

    Whether to keep the reduced axes in the output tensor.

    bool selectLastIndex

    Whether to perform the operation from the back of the axis.

    Overrides
    CPUBackend.ArgMin(TensorFloat, TensorInt, int, bool, bool)

    ArgMin(TensorInt, TensorInt, int, bool, bool)

    Computes the indices of the minimum elements of the input tensor along a given axis.

    Declaration
    public override void ArgMin(TensorInt X, TensorInt O, int axis, bool keepdim, bool selectLastIndex)
    Parameters
    Type Name Description
    TensorInt X

    The input tensor.

    TensorInt O

    The output tensor to be computed and filled.

    int axis

    The axis along which to reduce.

    bool keepdim

    Whether to keep the reduced axes in the output tensor.

    bool selectLastIndex

    Whether to perform the operation from the back of the axis.

    Overrides
    CPUBackend.ArgMin(TensorInt, TensorInt, int, bool, bool)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)