File size: 326 Bytes
894cec0
 
 
 
 
 
 
 
 
 
 
 
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