ray.rllib.utils.exploration.random.Random.__init__#

Random.__init__(action_space: gymnasium.spaces.Space, *, model: ModelV2, framework: str | None, **kwargs)[source]#

Initialize a Random Exploration object.

Parameters:
  • action_space – The gym action space used by the environment.

  • framework – One of None, “tf”, “torch”.