浏览代码

add action_out abstract method and docstring

/develop/actions-out
Andrew Cohen 4 年前
当前提交
f0a2c6f2
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      ml-agents/mlagents/trainers/torch/distributions.py

7
ml-agents/mlagents/trainers/torch/distributions.py


"""
pass
@abc.abstractmethod
def action_out(self) -> torch.Tensor:
"""
Returns the tensor to be exported to ONNX for the distribution
"""
pass
class DiscreteDistInstance(DistInstance):
@abc.abstractmethod

正在加载...
取消
保存