code: def setup_values(
      filter2d_fn,
      image_shape,
      filter_shape,
      padding,
      constant_values,
      dtype,
  ):
      assert 3 <= len(image_shape) <= 4
      height, width = image_shape[-3], image_shape[-2]
      plane = tf.constant(
          [x for x in range(1, height * width + 1)],
          shape=(height, width),
          dtype=dtype,
      )
      image = tile_image(plane, image_shape=image_shape)
  
      result = filter2d_fn(
          image,
          filter_shape=filter_shape,
          padding=padding,
          constant_values=constant_values,
      )
  
      return result
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.image import mean_filter2d
  from tensorflow_addons.image import median_filter2d
  from tensorflow_addons.image import gaussian_filter2d
  from tensorflow_addons.utils import test_utils
  from scipy.ndimage.filters import gaussian_filter
label_desc: Use image node_id 2 for calling a global function with example usage: setup_values(filter2d_fn, image_shape, filter_shape, padding, constant_values, dtype) and returns: result