Source code for chainerrl.policy

from abc import ABCMeta
from abc import abstractmethod


from logging import getLogger
logger = getLogger(__name__)


[docs]class Policy(object, metaclass=ABCMeta): """Abstract policy."""
[docs] @abstractmethod def __call__(self, state): """Evaluate a policy. Returns: Distribution of actions """ raise NotImplementedError()