def rand_username(self):
        return ''.join(random.choice(string.ascii_lowercase)
                       for x in range(0, random.randrange(5, 9)))
Reshape a 4D tensor of image data to a grid for easy visualization.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/management/commands/fill-database.py/Command.rand_username--crossover with--dataset/ETHPy150Open dnlcrl/PyFunt/pyfunt/utils/vis_utils.py/visualize_grid