def seed(self, seed=None):
    '\n        Set rng seed\n\n        Parameters\n        ----------\n        seed:\n            seed for rng\n        '
    (_, seed) = seeding.np_random(seed)
    if (seed is not None):
        torch.manual_seed(seed)
        np.random.seed(seed)
    return [seed]
Set rng seed

Parameters
----------
seed:
    seed for rng
def seed(self, seed=None):
    '\n        Set rng seed\n\n        Parameters\n        ----------\n        seed:\n            seed for rng\n        '
    (_, seed) = seeding.np_random(seed)
    if (seed is not None):
        torch.manual_seed(seed)
        np.random.seed(seed)
    return [seed]