Method MakeDiscrete
MakeDiscrete(params int[])
Creates a Discrete ActionSpec with the array of branch sizes that represents the action space.
Declaration
public static ActionSpec MakeDiscrete(params int[] branchSizes)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | branchSizes | The array of branch sizes for the discrete actions. Each index contains the number of actions available for that branch. |
Returns
| Type | Description |
|---|---|
| ActionSpec | An Discrete ActionSpec initialized with the array of branch sizes. |