Property CompressedChannelMapping
CompressedChannelMapping
The mapping of the channels in compressed data to the actual channel after decompression.
Declaration
public int[] CompressedChannelMapping { get; }
Property Value
| Type | Description |
|---|---|
| int[] |
Remarks
The mapping is a list of integer index with the same length as the number of output observation layers (channels), including padding if there's any. Each index indicates the actual channel the layer will go into. Layers with the same index will be averaged, and layers with negative index will be dropped. For example, mapping for CameraSensor using grayscale and stacking of two: [0, 0, 0, 1, 1, 1] Mapping for GridSensor of 4 channels and stacking of two: [0, 1, 2, 3, -1, -1, 4, 5, 6, 7, -1, -1]