using System;
using UnityEngine;
namespace MLAgents.Sensor
{
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 {Width, Height, 3}
///
public int[] Shape;
}
}