in basic_pitch/data/tf_example_serialization.py [0:0]
def _to_transcription_tfex(
file_id: str,
source: str,
encoded_wav: bytes,
notes_indices: List[Tuple[int, int]],
notes_values: List[float],
onsets_indices: List[int],
onsets_values: List[float],
contours_indices: List[int],
contours_values: List[float],
notes_onsets_shape: Tuple[int, int],
contours_shape: Tuple[int, int],