code: def test_get_start_and_end_of_speech_frames_frames(self):
      # First speech frame is index 2 (inclusive) and last one is index 8 (exclusive).
      is_speech = np.array(
          [
              True,
              False,
              True,
              True,
              False,
              True,
              True,
              True,
              False,
              True,
              False,
          ]
      )
      speech_frame_threshold = 2
  
      start_frame, end_frame = get_start_and_end_of_speech_frames(
          is_speech=is_speech,
          speech_frame_threshold=speech_frame_threshold,
      )
  
      assert start_frame == 2
      assert end_frame == 8
  
imports: import numpy
  import pytest
  from nemo.collections.tts.parts.preprocessing.audio_trimming import get_start_and_end_of_speech_frames, pad_sample_indices
label_desc: Use image node_id 1 for calling the TestAudioTrimming obj's underlying member method code with example usage: obj.test_get_start_and_end_of_speech_frames_frames() without return types