File size: 326 Bytes
2a30b4a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import List, Optional

from rl_algo_impls.wrappers.vectorable_wrapper import VecotarableWrapper


class NoopEnvSeed(VecotarableWrapper):
    """
    Wrapper to stop a seed call going to the underlying environment.
    """

    def seed(self, seed: Optional[int] = None) -> Optional[List[int]]:
        return None