using System;
namespace MLAgents.Sensors
{
internal struct Observation
{
///
/// The compressed sensor data. Assumed to be non-null if CompressionType != CompressionType.None
///
public byte[] CompressedData;
///
/// Uncompressed sensor data. Assumed to be non-empty if CompressionType == CompressionType.None
///
public ArraySegment FloatData;
///
/// The format of the compressed data
///
public SensorCompressionType CompressionType;
///
/// The uncompressed dimensions of the data.
/// E.g. for RGB visual observations, this will be {Height, Width, 3}
///
public int[] Shape;
}
}