|
|
|
|
|
|
m_Dict[obsGenName] = obsGen; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
var sensor = sensors[sensorIndex]; |
|
|
|
var shape = sensor.GetObservationSpec().Shape; |
|
|
|
var rank = shape.Length; |
|
|
|
ObservationGenerator obsGen = null; |
|
|
|
string obsGenName = null; |
|
|
|
switch (rank) |
|
|
|
for (var sensorIndex = 0; sensorIndex < sensors.Count; sensorIndex++) |
|
|
|
{ |
|
|
|
var obsGen = new ObservationGenerator(allocator); |
|
|
|