code: def define_graph(self):
      self.data = self.inputs()
      random_data = (
          self.data.gpu() if self.device == "gpu" else self.data
      )
      if self.fill_value_iterator is not None:
          self.fill_value_data = self.fill_value_inputs()
          out = self.erase(random_data, fill_value=self.fill_value_data)
      else:
          out = self.erase(random_data)
      return out
  
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import numpy
  from functools import partial
  from test_utils import compare_pipelines
  from test_utils import RandomDataIterator
label_desc: Use image node_id 2 for calling the ErasePipeline obj's underlying member method code with example usage: obj.define_graph() and returns: out