File size: 257 Bytes
2bf3589 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import gym
from typing import List, Optional
class NoopEnvSeed(gym.Wrapper):
"""
Wrapper to stop a seed call going to the underlying environment.
"""
def seed(self, seed: Optional[int] = None) -> Optional[List[int]]:
return None
|