code: def test_equalize_with_skimage(bins):
      np.random.seed(0)
      image = np.random.randint(
          low=0, high=256, size=(5, 5, 3, 3), dtype=np.uint8
      )
      equalized = tf.cast(
          color_ops.equalize(tf.constant(image), bins), np.float16
      )
      equalized = tf.math.divide(equalized, 255)
      skiequalized = equalize_hist(image, bins)
      assert (
          tf.reduce_mean(
              tf.math.abs(
                  tf.reshape(
                      tf.math.subtract(equalized, skiequalized), [-1]
                  )
              )
          )
          <= 0.015
      ), "Greater than 0.015 mean absolute difference in arrays"
  
file_path: addons/tensorflow_addons/image/tests/color_ops_test.py
imports: import pytest
  import tensorflow
  import numpy
  from tensorflow_addons.image import color_ops
  from PIL import Image, ImageOps, ImageEnhance
  from skimage.exposure import equalize_hist
label_desc: Use image node_id 3 for calling a global function with example usage: test_equalize_with_skimage(bins) without return types