code: def test_align_label_logits(self, logits_len, labels_len):
      logits = np.arange(logits_len).tolist()
      labels = np.arange(labels_len).tolist()
      labels_new = align_labels_to_frames(probs=logits, labels=labels)
  
      assert len(labels_new) == len(logits)
  
file_path: NeMo/tests/collections/asr/utils/test_vad_utils.py
imports: import numpy
  import pytest
  from pyannote.core import Annotation, Segment
  from nemo.collections.asr.parts.utils.vad_utils import align_labels_to_frames, convert_labels_to_speech_segments, frame_vad_construct_pyannote_object_per_file, get_frame_labels, get_nonspeech_segments, load_speech_overlap_segments_from_rttm, load_speech_segments_from_rttm, read_rttm_as_pyannote_object
label_desc: Use image node_id 1 for calling the TestVADUtils obj's underlying member method code with example usage: obj.test_align_label_logits(logits_len, labels_len) without return types