rllib/agents/trainer_config.py
def exploration(
        self,
        *,
        explore: Optional[bool] = None,
        exploration_config: Optional[dict] = None,
    ) -> "TrainerConfig":
        """Sets the config's exploration settings.

        Args:
            explore: Default exploration behavior, iff `explore`=None is passed into
                compute_action(s). Set to False for no exploration behavior (e.g.,
                for evaluation).
            exploration_config: A dict specifying the Exploration object's config.

        Returns:
            This updated TrainerConfig object.
        """
        if explore is not None:
            self.explore = explore
        if exploration_config is not None:
            self.exploration_config = exploration_config

        return self
Sets the config's exploration settings.

        Args:
            explore: Default exploration behavior, iff `explore`=None is passed into
                compute_action(s). Set to False for no exploration behavior (e.g.,
                for evaluation).
            exploration_config: A dict specifying the Exploration object's config.

        Returns:
            This updated TrainerConfig object.
        
Sets the config's exploration settings.
Sets the config ' s exploration settings .
def exploration(
        self,
        *,
        explore: Optional[bool] = None,
        exploration_config: Optional[dict] = None,
    ) -> "TrainerConfig":
        if explore is not None:
            self.explore = explore
        if exploration_config is not None:
            self.exploration_config = exploration_config
        return self
def exploration ( self , * , explore : Optional [ bool ] = None , exploration_config : Optional [ dict ] = None , ) -> "TrainerConfig" : if explore is not None : self . explore = explore if exploration_config is not None : self . exploration_config = exploration_config return self
Sets the config's exploration settings.
Sets the config ' s exploration settings .
"""Sets the config's exploration settings.

        Args:
            explore: Default exploration behavior, iff `explore`=None is passed into
                compute_action(s). Set to False for no exploration behavior (e.g.,
                for evaluation).
            exploration_config: A dict specifying the Exploration object's config.

        Returns:
            This updated TrainerConfig object.
        """
This updated TrainerConfig object.
This updated TrainerConfig object .
self
explore
Optional[bool]
Default exploration behavior, iff `explore`=None is passed into
compute_action(s). Set to False for no exploration behavior .
Default exploration behavior iff ` explore ` = None is passed into compute_action ( s ) . Set to False for no exploration behavior .
exploration_config
Optional[dict]
A dict specifying the Exploration object's config.
A dict specifying the Exploration object ' s config .