code: def test_compose(dtype):
      image = tf.constant(
          [[1, 1, 1, 0], [1, 0, 0, 0], [1, 1, 1, 0], [0, 0, 0, 0]],
          dtype=dtype,
      )
      # Rotate counter-clockwise by pi / 2.
      rotation = transform_ops.angles_to_projective_transforms(
          np.pi / 2, 4, 4
      )
      # Translate right by 1 (the transformation matrix is always inverted,
      # hence the -1).
      translation = tf.constant(
          [1, 0, -1, 0, 1, 0, 0, 0], dtype=tf.dtypes.float32
      )
      composed = transform_ops.compose_transforms(
          [rotation, translation]
      )
      image_transformed = transform_ops.transform(image, composed)
      np.testing.assert_equal(
          [[0, 0, 0, 0], [0, 1, 0, 1], [0, 1, 0, 1], [0, 1, 1, 1]],
          image_transformed.numpy(),
      )
  
imports: import pytest
  import numpy
  import tensorflow
  from skimage import transform
  from tensorflow_addons.image import transform_ops
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_compose(dtype) without return types