Constructor ActionSpec
ActionSpec(int, int[])
Create an ActionSpec initialized with the specified action sizes.
Declaration
public ActionSpec(int numContinuousActions = 0, int[] discreteBranchSizes = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numContinuousActions | The number of continuous actions available. |
| int[] | discreteBranchSizes | The array of branch sizes for the discrete actions. Each index contains the number of actions available for that branch. |