浏览代码

Fix policy tests

/develop/nopreviousactions
Ervin Teng 5 年前
当前提交
aec5fcc0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ml-agents/mlagents/trainers/tests/test_policy.py

2
ml-agents/mlagents/trainers/tests/test_policy.py


def basic_mock_brain():
mock_brain = MagicMock()
mock_brain.vector_action_space_type = "continuous"
mock_brain.vector_observation_space_size = 1
mock_brain.vector_action_space_size = [1]
return mock_brain

正在加载...
取消
保存