code: def get_data(subset):
      # something that yields [[SHAPE, SHAPE, CHANNELS], [1]]
      ds = FakeData(
          [[SHAPE, SHAPE, CHANNELS], [1]],
          1000,
          random=False,
          dtype=["float32", "uint8"],
          domain=[(0, 255), (0, 10)],
      )
      ds = MultiProcessRunnerZMQ(ds, 2)
      ds = BatchData(ds, BATCH_SIZE)
      return ds
  
file_path: tensorpack/examples/boilerplate.py
imports: import argparse
  import os
  import tensorflow
  from tensorpack import *
label_desc: Use image node_id 1 for calling a global function with example usage: get_data(subset) and returns: ds