code: def __next__(self):
      start_idx = self.num_generator_called * self.batch_size
      end_idx = (self.num_generator_called + 1) * self.batch_size
      x = self.x[start_idx:end_idx]
      y = self.y[start_idx:end_idx]
      self.num_generator_called += 1
      if self.num_generator_called == self.length:
          self.num_generator_called = 0
      return x, y
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 4 for calling the SomeDataGeneratorWithLen obj's underlying member method code with example usage: obj.__next__() and returns: x,  y