RandomPolicy

class RandomPolicy(seed=None, **kwargs)[source]

Bases: BasePolicy

Random Policy.

get_action(obs, **kwargs)[source]

Get action from the policy given the observation.

set_seed(seed)[source]