import random


def make_training_loop_description(nb_epochs, batch_size, random_seed=None):
    """
    produces a description of the training loop
    """
    if random_seed is None: random_seed = random.getrandbits(32)
    return {"nb_epochs":nb_epochs, "batch_size":batch_size, "random_seed":random_seed}