code: def define_graph(self):
      jpegs, labels = self.loader()
      images = self.decode(jpegs)
      images = self.resize(images.gpu())
      images = self.cmnorm(images)
      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 DaliPipelineVal obj's underlying member method code with example usage: obj.define_graph() and returns: images,  labels