docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field BranchSizes

    An array of branch sizes for discrete actions.

    For an IActuator that uses discrete actions, the number of branches is the Length of the Array and each index contains the branch size. The cumulative sum of the total number of discrete actions can be retrieved by the SumOfDiscreteBranchSizes property.

    For an IActuator with a Continuous it will be null.

    Namespace: Unity.MLAgents.Actuators
    Assembly: solution.dll
    Syntax
    public int[] BranchSizes
    Returns
    Type Description
    int[]
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023