code: def test_layout_data_mismatch():
      src_pipe = Pipeline(1, 1, 0, prefetch_queue_depth=1)
      src_pipe.set_outputs(fn.external_source(name="input", layout="H"))
      src_pipe.build()
      src_pipe.feed_input("input", [np.zeros((1))], layout="W")
      src_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 22 for calling a global function with example usage: test_layout_data_mismatch() without return types