浏览代码

update comment

/develop/action-slice
Andrew Cohen 4 年前
当前提交
f165bfb5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ml-agents/mlagents/trainers/torch/agent_action.py

4
ml-agents/mlagents/trainers/torch/agent_action.py


def slice(self, start: int, end: int) -> "AgentAction":
"""
Returns an AgentAction with the continuous and discrete tensors slices
from index start to index end.
Returns an AgentAction with the slice of continuous and discrete tensors
between start and end.
"""
_cont = None
_disc_list = []

正在加载...
取消
保存