rllib/agents/trainer.py
def with_common_config(extra_config: PartialTrainerConfigDict) -> TrainerConfigDict:
    """Returns the given config dict merged with common agent confs.

    Args:
        extra_config (PartialTrainerConfigDict): A user defined partial config
            which will get merged with COMMON_CONFIG and returned.

    Returns:
        TrainerConfigDict: The merged config dict resulting of COMMON_CONFIG
            plus `extra_config`.
    """
    return Trainer.merge_trainer_configs(
        COMMON_CONFIG, extra_config, _allow_unknown_configs=True
    )
Returns the given config dict merged with common agent confs.

    Args:
        extra_config (PartialTrainerConfigDict): A user defined partial config
            which will get merged with COMMON_CONFIG and returned.

    Returns:
        TrainerConfigDict: The merged config dict resulting of COMMON_CONFIG
            plus `extra_config`.
    
Returns the given config dict merged with common agent confs.
Returns the given config dict merged with common agent confs .
def with_common_config(extra_config: PartialTrainerConfigDict) -> TrainerConfigDict:
    return Trainer.merge_trainer_configs(
        COMMON_CONFIG, extra_config, _allow_unknown_configs=True
    )
def with_common_config ( extra_config : PartialTrainerConfigDict ) -> TrainerConfigDict : return Trainer . merge_trainer_configs ( COMMON_CONFIG , extra_config , _allow_unknown_configs = True )
Returns the given config dict merged with common agent confs.
Returns the given config dict merged with common agent confs .
"""Returns the given config dict merged with common agent confs.

    Args:
        extra_config (PartialTrainerConfigDict): A user defined partial config
            which will get merged with COMMON_CONFIG and returned.

    Returns:
        TrainerConfigDict: The merged config dict resulting of COMMON_CONFIG
            plus `extra_config`.
    """
The merged config dict resulting of COMMON_CONFIG
plus `extra_config`.
The merged config dict resulting of COMMON_CONFIG plus ` extra_config ` .
TrainerConfigDict
extra_config
PartialTrainerConfigDict
A user defined partial config
which will get merged with COMMON_CONFIG and returned.
A user defined partial config which will get merged with COMMON_CONFIG and returned .