code: def convert_keypoints_to_albumentations(
      keypoints: Sequence[Sequence],
      source_format: str,
      rows: int,
      cols: int,
      check_validity: bool = False,
      angle_in_degrees: bool = True,
  ) -> List[Tuple]:
      return [
          convert_keypoint_to_albumentations(
              kp,
              source_format,
              rows,
              cols,
              check_validity,
              angle_in_degrees,
          )
          for kp in keypoints
      ]
  
imports: from __future__ import division
  import math
  import typing
  import warnings
  from typing import Any, Dict, List, Optional, Sequence, Tuple
  from .utils import DataProcessor, Params
label_desc: Use image node_id 7 for calling a global function with example usage: convert_keypoints_to_albumentations(keypoints, source_format, rows, cols, check_validity, angle_in_degrees) and returns: unknown