LitRL-Inference / src /typing.py
c-gohlke's picture
Upload folder using huggingface_hub
5ae8333
raw
history blame
340 Bytes
import enum
from pydantic import BaseModel
class AgentType(enum.Enum):
RANDOM = "random"
MCTS = "mcts"
SAC = "sac"
class RolloutPolicy(enum.Enum):
RANDOM = "random"
SAC = "sac"
class CpuConfig(BaseModel):
agent_type: AgentType
simulations: int | None = None
rollout_policy: RolloutPolicy | None = None