def _get_keypoint_tuples(self, eval_config):
        """Return a tuple list of keypoint edges from the eval config.

        Args:
          eval_config: an eval config containing the keypoint edges

        Returns:
          a list of edge tuples, each in the format (start, end)
        """
        tuple_list = []
        kp_list = eval_config.keypoint_edge
        for edge in kp_list:
            tuple_list.append((edge.start, edge.end))
        return tuple_list
Return a tuple list of keypoint edges from the eval config.

        Args:
          eval_config: an eval config containing the keypoint edges

        Returns:
          a list of edge tuples, each in the format (start, end)
        
inference_api/src/main/inference/tensorflow2_detection.py