def shear_y_only_bboxes(image, bboxes, prob, level, replace):
  """Apply shear_y to each bbox in the image with probability prob."""
  func_changes_bbox = False
  prob = _scale_bbox_only_op_probability(prob)
  return _apply_multi_bbox_augmentation_wrapper(
      image, bboxes, prob, shear_y, func_changes_bbox, level, replace)
Apply shear_y to each bbox in the image with probability prob.
inference_api/src/main/object_detection/utils/autoaugment_utils.py