namespace Unity.MLAgents.Sensors { /// /// The Dimension property flags of the observations /// [System.Flags] internal enum DimensionProperty { /// /// No properties specified. /// Unspecified = 0, /// /// No Property of the observation in that dimension. Observation can be processed with /// fully connected networks. /// None = 1, /// /// Means it is suitable to do a convolution in this dimension. /// TranslationalEquivariance = 2, /// /// Means that there can be a variable number of observations in this dimension. /// The observations are unordered. /// VariableSize = 4, } /// /// Sensor interface for sensors with special dimension properties. /// internal interface IDimensionPropertiesSensor { /// /// Returns the array containing the properties of each dimensions of the /// observation. The length of the array must be equal to the rank of the /// observation tensor. /// /// The array of DimensionProperty DimensionProperty[] GetDimensionProperties(); } }