浏览代码

clean up merge

/goal-conditioning/sensors-3-pytest-fix
Chris Elion 4 年前
当前提交
49f35f1c
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 7
      com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs

7
com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs


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);

正在加载...
取消
保存