}
else if (shape.Length == 2)
{
m_TensorShape = new TensorShape(new int[]{m_Batch, 1, shape[0], shape[1]});
m_TensorShape = new TensorShape(new int[] { m_Batch, 1, shape[0], shape[1] });
else
for agent_obs in agent_info_list
],
dtype=np.float32,
).reshape((len(agent_info_list), ) + shape)
).reshape((len(agent_info_list),) + shape)
_raise_on_nan_and_inf(np_obs, "observations")
return np_obs