code: def some_data_tensor_generator(batch_size):
      while True:
          x = torch.rand(batch_size, 1)
          y = torch.rand(batch_size, 1)
          yield x, y
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 1 for calling a global function with example usage: some_data_tensor_generator(batch_size) without return types