s3y's picture
Upload folder using huggingface_hub
93a69f8 verified
raw
history blame contribute delete
271 Bytes
import abc
from typing import Dict
class BasePolicy(abc.ABC):
@abc.abstractmethod
def infer(self, obs: Dict) -> Dict:
"""Infer actions from observations."""
def reset(self) -> None:
"""Reset the policy to its initial state."""
pass