code: def shear_x(
      image: TensorLike, level: float, replace: TensorLike
  ) -> TensorLike:
      """Perform shear operation on an image (x-axis).
  
      Args:
          image: A 3D image `Tensor`.
          level: A float denoting shear element along y-axis
          replace: A one or three value 1D tensor to fill empty pixels.
      Returns:
          Transformed image along X or Y axis, with space outside image
          filled with replace.
      """
      # Shear parallel to x axis is a projective transform
      # with a matrix form of:
      # [1  level
      #  0  1].
      image = transform(
          wrap(image), [1.0, level, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0]
      )
      return unwrap(image, replace)
  
file_path: addons/tensorflow_addons/image/transform_ops.py
imports: import tensorflow
  from tensorflow_addons.image import utils
  from tensorflow_addons.utils.types import TensorLike
  from tensorflow_addons.image.utils import wrap, unwrap
  from typing import Optional
label_desc: Use image node_id 7 for calling a global function with example usage: shear_x(image, level, replace) and returns: unwrap