Spaces:
Running
Running
from abc import abstractmethod, abstractproperty | |
import torch.nn as nn | |
import torch.nn.functional as F | |
class ACModel: | |
recurrent = False | |
def __init__(self, obs_space, action_space): | |
pass | |
def forward(self, obs): | |
pass | |
class RecurrentACModel(ACModel): | |
recurrent = True | |
def forward(self, obs, memory): | |
pass | |
def memory_size(self): | |
pass |