Spaces:
Build error
Build error
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 |