code: def test_partially_utilized_es_old_style():
      rng = random.Random(42)
      for num_outputs in (2, 3, 4):
          for num_unused in range(1, num_outputs):
              unused = rng.sample(list(range(num_outputs)), num_unused)
              usage_mask = [i not in unused for i in range(num_outputs)]
              yield _test_partially_utilized_es_old_style, usage_mask
  
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 28 for calling a global function with example usage: test_partially_utilized_es_old_style() without return types