def _seed(self, seed=None): from gym.utils import seeding self.np_random, seed = seeding.np_random(seed) return [seed]