docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ArgReduce

    ArgReduce(string, string, int, bool, bool)

    Initializes and returns an instance of ArgReduce layer.

    Declaration
    protected ArgReduce(string name, string input, int axis, bool keepdims = true, bool selectLastIndex = false)
    Parameters
    Type Name Description
    string name

    The name to use for the output tensor of the layer.

    string input

    The name to use for the input tensor of the layer.

    int axis

    The axis along which to perform the operation.

    bool keepdims

    Whether to keep the axis dimension in the output tensor. The default value is true.

    bool selectLastIndex

    Whether to perform the operation from the back of the axis. The default value is false.

    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)