in src/chug/image/transforms_torch.py [0:0]
def get_params(scale): if type(scale) is tuple or type(scale) is list: assert len(scale) == 2 scale = random.choice(scale) return scale