code: def create(model_config, model, vec_env, algo, env_roller, parallel_envs, number_of_steps,
             batch_size=256, experience_replay=1, stochastic_experience_replay=False, shuffle_transitions=True):
      
      settings = OnPolicyIterationReinforcerSettings(
          number_of_steps=number_of_steps,
          batch_size=batch_size,
          experience_replay=experience_replay,
          stochastic_experience_replay=stochastic_experience_replay,
          shuffle_transitions=shuffle_transitions
      )
  
      return OnPolicyIterationReinforcerFactory(
          settings=settings,
          parallel_envs=parallel_envs,
          env_factory=vec_env,
          model_factory=model,
          algo=algo,
          env_roller_factory=env_roller,
          seed=model_config.seed
      )
docs: Vel factory function