code: def define_graph(self):
      jpegs, labels = self.loader()
      images = self.decode(jpegs)
      images = self.resize(images.gpu())
      # images = self.hue(images, hue=ops.Uniform(range=(-3.0, 3.0))())
      # images = self.bright(images,
      #                      brightness=ops.Uniform(range=(0.9, 1.1))())
      # images = self.cntrst(images,
      #                      contrast=ops.Uniform(range=(0.9, 1.1))())
      # images = self.rotate(images,
      #                      angle=ops.Uniform(range=(-5.0, 5.0))())
      # images = self.jitter(images)
      images = self.rrcrop(images)
      images = self.cmnorm(images, mirror=self.coin())
      return images, labels
  
file_path: chainer/examples/imagenet/dali_util.py
imports: import numpy
  import chainer
  from chainer.backends import cuda
  import ctypes
label_desc: Use image node_id 2 for calling the DaliPipelineTrain obj's underlying member method code with example usage: obj.define_graph() and returns: images,  labels