docs.unity3d.com
    Show / Hide Table of Contents

    Class UnityRLCapabilities

    Inheritance
    Object
    UnityRLCapabilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.MLAgents
    Syntax
    public class UnityRLCapabilities

    Constructors

    UnityRLCapabilities(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

    A class holding the capabilities flags for Reinforcement Learning across C# and the Trainer codebase. This struct will be used to inform users if and when they are using C# / Trainer features that are mismatched.

    Declaration
    public UnityRLCapabilities(bool baseRlCapabilities = true, bool concatenatedPngObservations = true, bool compressedChannelMapping = true, bool hybridActions = true, bool trainingAnalytics = true, bool variableLengthObservation = true, bool multiAgentGroups = true)
    Parameters
    Type Name Description
    Boolean baseRlCapabilities
    Boolean concatenatedPngObservations
    Boolean compressedChannelMapping
    Boolean hybridActions
    Boolean trainingAnalytics
    Boolean variableLengthObservation
    Boolean multiAgentGroups

    Fields

    BaseRLCapabilities

    Declaration
    public bool BaseRLCapabilities
    Field Value
    Type Description
    Boolean

    CompressedChannelMapping

    Declaration
    public bool CompressedChannelMapping
    Field Value
    Type Description
    Boolean

    ConcatenatedPngObservations

    Declaration
    public bool ConcatenatedPngObservations
    Field Value
    Type Description
    Boolean

    HybridActions

    Declaration
    public bool HybridActions
    Field Value
    Type Description
    Boolean

    MultiAgentGroups

    Declaration
    public bool MultiAgentGroups
    Field Value
    Type Description
    Boolean

    TrainingAnalytics

    Declaration
    public bool TrainingAnalytics
    Field Value
    Type Description
    Boolean

    VariableLengthObservation

    Declaration
    public bool VariableLengthObservation
    Field Value
    Type Description
    Boolean

    Methods

    WarnOnPythonMissingBaseRLCapabilities()

    Will print a warning to the console if Python does not support base capabilities and will return true if the warning was printed.

    Declaration
    public bool WarnOnPythonMissingBaseRLCapabilities()
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    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