def all_batches(self):
    self.n_iter = len(self.dl)
    for o in enumerate(self.dl):
        self.one_batch(*o)
def all_batches(self):
    self.n_iter = len(self.dl)
    for o in enumerate(self.dl):
        self.one_batch(*o)