Class IActuatorExtensions
Helper methods to be shared by all classes that implement IActuator.
Namespace: Unity.MLAgents.Actuators
Syntax
public static class IActuatorExtensions : object
Methods
TotalNumberOfActions(IActuator)
Returns the number of discrete branches + the number of continuous actions.
Declaration
public static int TotalNumberOfActions(this IActuator actuator)
Parameters
Type | Name | Description |
---|---|---|
IActuator | actuator |
Returns
Type | Description |
---|---|
Int32 |