def instantiate(self, parallel_envs, seed=<NUM_LIT:0>, preset='<STR_LIT:default>') -> VecEnv:
envs = DummyVecEnv([self._creation_function(i, seed, preset) for i in range(parallel_envs)])<EOL>if self.frame_history is not None:<EOL><INDENT>envs = VecFrameStack(envs, self.frame_history)<EOL><DEDENT>return envs<EOL>
Create vectorized environments