code: def test_total_no_chunks(ex_kwargs):
      frame = np.full((128, 128, 3), 42, dtype=np.uint8)
      chunks = [sample_to_lz4(frame)] * 7
      deflated = np.concatenate(chunks)
      baseline = np.array([], dtype=np.uint8).reshape((0, 128, 128, 3))
  
      @pipeline_def
      def pipeline():
          inflate = fn.external_source(
              source=lambda _: deflated, batch=False
          )
          return fn.experimental.inflate(
              inflate.gpu(),
              shape=(128, 128, 3),
              layout="HWC",
              **ex_kwargs,
          )
  
      batch_size = 8
      pipe = pipeline(batch_size=batch_size, num_threads=4, device_id=0)
      pipe.build()
      for _ in range(2):
          (inflated,) = pipe.run()
          check_batch(
              inflated,
              [baseline] * batch_size,
              batch_size,
              layout="FHWC",
          )
  
file_path: DALI/dali/test/python/operator_1/test_inflate.py
imports: import numpy
  from nvidia.dali import pipeline_def, fn, types
  from test_utils import np_type_to_dali, has_operator, restrict_platform
  from nose_utils import assert_raises
  from nose2.tools import params
label_desc: Use image node_id 10 for calling a global function with example usage: test_total_no_chunks(ex_kwargs) and returns: fn