code: def blur(image, factor):
      """Blur with the same kernel as ImageFilter.BLUR."""
      # See https://github.com/python-pillow/Pillow/blob/master/src/PIL/ImageFilter.py  # pylint: disable=line-too-long
      # class BLUR(BuiltinFilter):
      #     name = "Blur"
      #     # fmt: off
      #     filterargs = (5, 5), 16, 0, (
      #         1, 1, 1, 1, 1,
      #         1, 0, 0, 0, 1,
      #         1, 0, 0, 0, 1,
      #         1, 0, 0, 0, 1,
      #         1, 1, 1, 1, 1,
      #     )
      #     # fmt: on
      #
      # filterargs are following:
      # (kernel_size_x, kernel_size_y), divisor, offset, kernel
      #
      blur_kernel = (
          tf.constant(
              [
                  [1.0, 1.0, 1.0, 1.0, 1.0],
                  [1.0, 0.0, 0.0, 0.0, 1.0],
                  [1.0, 0.0, 0.0, 0.0, 1.0],
                  [1.0, 0.0, 0.0, 0.0, 1.0],
                  [1.0, 1.0, 1.0, 1.0, 1.0],
              ],
              dtype=tf.float32,
              shape=[5, 5, 1, 1],
          )
          / 16.0
      )
      blurred_im = _convolve_image_with_kernel(image, blur_kernel)
      return blend(image, blurred_im, factor)
  
imports: import math
  import tensorflow
  import tensorflow_addons
label_desc: Use image node_id 23 for calling a global function with example usage: blur(image, factor) and returns: blend