code: def test_cmn_with_out_of_bounds_policy_support():
      in_shape = (40, 80, 3)
      in_layout = "HWC"
      dtype = types.FLOAT
      mean = [0.485 * 255, 0.456 * 255, 0.406 * 255]
      std = [0.229 * 255, 0.224 * 255, 0.225 * 255]
      fill_values = (0x76, 0xB0, 0x00)
      for out_of_bounds_policy in ["pad", "trim_to_shape"]:
          for cmn_op, device in op_dev_pairs:
              for batch_size in [1, 3]:
                  for out_layout in ["HWC", "CHW"]:
                      for mirror_probability in [0.5]:
                          for should_pad in [False, True]:
                              yield (
                                  check_cmn_with_out_of_bounds_policy_support,
                                  cmn_op,
                                  device,
                                  batch_size,
                                  dtype,
                                  in_layout,
                                  in_shape,
                                  out_layout,
                                  mirror_probability,
                                  mean,
                                  std,
                                  should_pad,
                                  out_of_bounds_policy,
                                  fill_values,
                              )
  
imports: import numpy
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  from functools import partial
  from nvidia.dali import pipeline_def
  from nvidia.dali.pipeline import Pipeline
  from nose2.tools import params
  from nose_utils import assert_raises
  from nose_utils import raises
  from test_slice import check_slice_output, abs_slice_start_and_end
  from test_utils import RandomDataIterator
  from test_utils import as_array
  from test_utils import compare_pipelines, dali_type_to_np
  from test_utils import get_dali_extra_path
  import itertools
label_desc: Use image node_id 12 for calling a global function with example usage: test_cmn_with_out_of_bounds_policy_support() without return types