code: def test_different_channels():
      for channel in [0, 1, 3, 4]:
          test_image = tf.ones([1, 40, 40, channel], dtype=np.uint8)
          cutout_area = tf.zeros([4, 4], dtype=np.uint8)
          cutout_area = tf.pad(
              cutout_area, ((0, 36), (0, 36)), constant_values=1
          )
          expect_image = to_4D_image(cutout_area)
          expect_image = tf.tile(expect_image, [1, 1, 1, channel])
          result_image = random_cutout(test_image, 20, seed=1234)
          np.testing.assert_allclose(
              tf.shape(result_image), tf.shape(expect_image)
          )
  
file_path: addons/tensorflow_addons/image/tests/cutout_ops_test.py
imports: import pytest
  import tensorflow
  import numpy
  from tensorflow_addons.image.cutout_ops import cutout, random_cutout
  from tensorflow_addons.image.utils import to_4D_image
label_desc: Use image node_id 2 for calling a global function with example usage: test_different_channels() without return types