Class BrainParameters
Holds information about the brain. It defines what are the inputs and outputs of the decision process.
Implements
Inherited Members
Namespace: Unity.MLAgents.Policies
Assembly: solution.dll
Syntax
[Serializable]
public class BrainParameters : ISerializationCallbackReceiver
Remarks
Set brain parameters for an Agent instance using the BehaviorParameters component attached to the agent's GameObject.
Fields
| Name | Description |
|---|---|
| NumStackedVectorObservations | Stacking refers to concatenating the observations across multiple frames. This field indicates the number of frames to concatenate across. |
| VectorActionDescriptions | The list of strings describing what the actions correspond to. |
| VectorObservationSize | The number of the observations that are added in CollectObservations(VectorSensor) |
Properties
| Name | Description |
|---|---|
| ActionSpec | The specification of the Actions for the BrainParameters. |
Methods
| Name | Description |
|---|---|
| Clone() | Deep clones the BrainParameter object. |
| OnAfterDeserialize() | Called by Unity immediately after deserializing this object. |
| OnBeforeSerialize() | Called by Unity immediately before serializing this object. |