Class SensorShapeValidator
Check that List Sensors are the same shape as the previous ones.
Inherited Members
Namespace: Unity.MLAgents.Sensors
Assembly: Unity.ML-Agents.dll
Syntax
public class SensorShapeValidator
Methods
ValidateSensors(List<ISensor>)
Check that the List Sensors are the same shape as the previous ones. If this is the first List of Sensors being checked, its Sensor sizes will be saved.
Declaration
public void ValidateSensors(List<ISensor> sensors)
Parameters
Type | Name | Description |
---|---|---|
List<ISensor> | sensors | List of Sensors to validate |