code: def get_data():
      # We don't need any fancy data loading for this simple example.
      # See dataflow tutorial at https://tensorpack.readthedocs.io/tutorial/dataflow.html
      train = BatchData(dataset.Mnist("train"), 128)
      test = BatchData(dataset.Mnist("test"), 256, remainder=True)
  
      train = PrintData(train)
  
      return train, test
  
file_path: tensorpack/examples/basics/mnist-convnet.py
imports: from tensorpack import tfv1
  from tensorpack import *
  from tensorpack.dataflow import dataset
  from tensorpack.tfutils import summary
label_desc: Use image node_id 1 for calling a global function with example usage: get_data() and returns: train,  test