浏览代码

fix compile error

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

2
com.unity.ml-agents/Runtime/Inference/BarracudaModelParamLoader.cs


static FailedCheck CheckRankOneObsShape(
TensorProxy tensorProxy, ISensor sensor)
{
var shape = sensor.GetObservationShape();
var shape = sensor.GetObservationSpec().Shape;
var dim1Bp = shape[0];
var dim1T = tensorProxy.Channels;
var dim2T = tensorProxy.Width;

正在加载...
取消
保存