Spaces:
Sleeping
Sleeping
File size: 348 Bytes
3f7c971 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
class Agent:
def __new__(cls, *args, **kwargs):
agent = super().__new__(cls)
return agent
@property
def observation_space(self):
raise NotImplementedError()
@property
def action_space(self):
raise NotImplementedError()
def __str__(self):
return f"<{type(self).__name__} instance>"
|