def mirror(image, label):
  """Horizontally flipp image and label.

  Args:
    image: A 2-D/3-D tensor of shape `[height, width, channels]`.
    label: A 2-D/3-D tensor of shape `[height, width, channels]`.

  Return:
    Two tensors of shape `[new_height, new_width, channels]`.
  """

  image = image[:, ::-1, ...]
  label = label[:, ::-1, ...]
  return image, label