code: def test_invalid_filter_shape_mean(filter_shape):
      image = tf.ones(shape=(1, 28, 28, 1))
  
      with pytest.raises(ValueError):
          mean_filter2d(image, filter_shape=filter_shape)
  
      filter_shape = None
      with pytest.raises(TypeError):
          mean_filter2d(image, filter_shape=filter_shape)
  
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 5 for calling a global function with example usage: test_invalid_filter_shape_mean(filter_shape) without return types