code: def test_rotate_static_shape():
      image = tf.linalg.diag([1.0, 2.0, 3.0])
      result = transform_ops.rotate(
          image, tf.random.uniform((), -1, 1), interpolation="BILINEAR"
      )
      np.testing.assert_equal(image.get_shape(), result.get_shape())
  
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 19 for calling a global function with example usage: test_rotate_static_shape() without return types