code: def define_graph(self):
      jpegs, labels = self.input(name="Reader")
      images = self.resize(self.decode(jpegs))
      if self.device == "gpu":
          images = images.gpu()
      reshaped = self.reshape(images)
  
      # `images+0` creates a (no-op) arithmetic expression node - this prevents the
      # original `images` node from being marked as pipeline output
      return [images + 0, reshaped]
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  from numpy.testing import assert_array_equal
  import os
  from nose_utils import assert_raises
  from nose2.tools import params
label_desc: Use image node_id 2 for calling the ReshapePipeline obj's underlying member method code with example usage: obj.define_graph() and returns: list