code: def resample_wav(wav, sr, new_sr):
      wav = wav.unsqueeze(0)
      transform = torchaudio.transforms.Resample(
          orig_freq=sr, new_freq=new_sr
      )
      wav = transform(wav)
      return wav.squeeze(0)
  
imports: import torch
  import torchaudio
label_desc: Use image node_id 2 for calling a global function with example usage: resample_wav(wav, sr, new_sr) and returns: wav