code: def test_keras_layer():
      inputs = tf.keras.Input(shape=(40, 40, 1), dtype=tf.uint8)
      outputs = tf.keras.layers.Lambda(lambda x: cutout(x, 4, [2, 2]))(
          inputs
      )
      model = tf.keras.Model(inputs=inputs, outputs=outputs)
      x = tf.ones([10, 40, 40, 1], dtype=np.uint8)
      np.testing.assert_equal(cutout(x, 4, [2, 2]).numpy(), model(x))
  
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 7 for calling a global function with example usage: test_keras_layer() without return types