code: def lowpass_filtering(
      waveform,
      sample_rate: int,
      cutoff_freq: int = 1000,
      Q: float = 0.707,
  ):
      """Lowpass filter the input signal.
  
      Args:
          waveform (torch.Tensor): audio signal (..., time)
          sample_rate (int): sampling rate in Hz
          cutoff_freq (int): filter cutoff frequency
          Q (float or torch.Tensor): https://en.wikipedia.org/wiki/Q_factor
  
      Returns:
          ret (torch.Tensor): filtered signal (..., time)
      """
      ret = torchaudio.functional.lowpass_biquad(
          waveform, sample_rate, cutoff_freq, Q=Q
      )
      return ret
  
imports: import math
  import random
  from typing import Dict, List, Optional, Tuple, Union
  import numpy
  import torch
  import torchaudio
label_desc: Use image node_id 2 for calling a global function with example usage: lowpass_filtering(waveform, sample_rate, cutoff_freq, Q) and returns: ret