浏览代码

Add abstract method to Actor

/develop/add-fire/memoryclass
Ervin Teng 4 年前
当前提交
28cea8c0
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
      ml-agents/mlagents/trainers/torch/networks.py

8
ml-agents/mlagents/trainers/torch/networks.py


"""
pass
@abc.abstractproperty
def memory_size(self):
"""
Returns the size of the memory (same size used as input and output in the other
methods) used by this Actor.
"""
pass
class SimpleActor(nn.Module, Actor):
def __init__(

正在加载...
取消
保存