code: def _stft_magnitude(
      signal, fft_length, hop_length=None, window_length=None
  ):
      frames = _frame(signal, window_length, hop_length)
      window = torch.hann_window(window_length, periodic=True).to(
          signal.device
      )
      windowed_frames = frames * window
      return torch.abs(torch.fft.rfft(windowed_frames, int(fft_length)))
  
file_path: audio/src/torchaudio/prototype/pipelines/_vggish/_vggish_impl.py
imports: import math
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: _stft_magnitude(signal, fft_length, hop_length, window_length) and returns: torch