code: def loader_batch_fn(batch, ctx):
      if batch[0].shape[0] < len(ctx):
          # if # sample is less than # ctx, reduce the # ctx
          ctx = ctx[: batch[0].shape[0]]
      data = gluon.utils.split_and_load(
          batch[0], ctx_list=ctx, batch_axis=0, even_split=False
      )
      label = gluon.utils.split_and_load(
          batch[1], ctx_list=ctx, batch_axis=0, even_split=False
      )
      return data, label
  
file_path: gluon-cv/gluoncv/auto/estimators/image_classification/utils.py
imports: import os
  import math
  import mxnet
  from mxnet import nd
  from mxnet import gluon
  from mxnet.gluon.data.vision import transforms
  from ....data import imagenet
label_desc: Use image node_id 3 for calling a global function with example usage: loader_batch_fn(batch, ctx) and returns: data,  label