def set_seeds(seed):
rng.seed(seed)<EOL>nprng.seed(seed)<EOL>
Sets the seeds of both random number generators used by Foolbox.

    Parameters
    ----------
    seed : int
        The seed for both random number generators.