code: def __init__(self, batch_size, length, num_missing_samples):
      self.batch_size = batch_size
      self.length = length
      self.num_generator_called = 0
      self.x = torch.rand(length * batch_size - num_missing_samples, 1)
      self.y = torch.rand(length * batch_size - num_missing_samples, 1)
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 1 to create a new SomeDataGeneratorWithLen object  with example: obj = SomeDataGeneratorWithLen(batch_size, length, num_missing_samples)