File size: 311 Bytes
3d6ce6f |
1 2 3 4 5 6 7 8 9 10 11 12 |
from typing import List, Optional
from 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
|