code: def _test_non_utilized_external_source_pruning(num_outputs):
      max_batch_size = 16
  
      def sample_cb_source(sample_info):
          return None
  
      @pipeline_def
      def pipeline():
          outputs = fn.external_source(  # noqa F841
              source=sample_cb_source,
              batch=False,
              num_outputs=num_outputs,
          )
          data = fn.random.uniform(range=(0, 255), shape=(300, 100, 3))
          img = fn.reshape(data, layout="HWC")
          return fn.gaussian_blur(img, window_size=3)
  
      pipe = pipeline(
          batch_size=max_batch_size, num_threads=4, device_id=0
      )
      pipe.build()
      pipe.run()
  
imports: import random
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  from nvidia.dali import Pipeline, pipeline_def
  from test_utils import check_batch
  from nose_utils import raises, assert_warns, assert_raises
  from nvidia.dali.types import DALIDataType
  from numpy.random import default_rng
label_desc: Use image node_id 29 for calling a global function with example usage: _test_non_utilized_external_source_pruning(num_outputs) and returns: None, fn