code: def test_unknown_shape_median(shape):
      fn = median_filter2d.get_concrete_function(
          tf.TensorSpec(shape=None, dtype=tf.dtypes.float32),
          padding="CONSTANT",
          constant_values=1.0,
      )
  
      image = tf.ones(shape=shape)
      np.testing.assert_equal(image.numpy(), fn(image).numpy())
  
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.image import mean_filter2d
  from tensorflow_addons.image import median_filter2d
  from tensorflow_addons.image import gaussian_filter2d
  from tensorflow_addons.utils import test_utils
  from scipy.ndimage.filters import gaussian_filter
label_desc: Use image node_id 17 for calling a global function with example usage: test_unknown_shape_median(shape) without return types