def create(model_config, vec_env, model, algo, env_roller, parallel_envs: int,
           rollout_steps: int, training_steps: int, training_rounds: int=1):
    """ Vel factory function """
    settings = BufferedOffPolicyIterationReinforcerSettings(
        rollout_steps=rollout_steps,
        training_steps=training_steps,
        training_rounds=training_rounds
    )

    return BufferedOffPolicyIterationReinforcerFactory(
        settings=settings,
        env_factory=vec_env,
        model_factory=model,
        algo=algo,
        env_roller_factory=env_roller,
        parallel_envs=parallel_envs,
        seed=model_config.seed
    )
def create ( model_config , vec_env , model , algo , env_roller , parallel_envs : int , rollout_steps : int , training_steps : int , training_rounds : int = 1 ) : settings = BufferedOffPolicyIterationReinforcerSettings ( rollout_steps = rollout_steps , training_steps = training_steps , training_rounds = training_rounds ) return BufferedOffPolicyIterationReinforcerFactory ( settings = settings , env_factory = vec_env , model_factory = model , algo = algo , env_roller_factory = env_roller , parallel_envs = parallel_envs , seed = model_config . seed )
Vel factory function