docstr: vad should throw a warning if input dimension is greater than 2
docstr_tok: ["vad","should","throw","a","warning","if","input","dimension","is","greater","than","2"]
code: def test_vad_warning(self):
      """vad should throw a warning if input dimension is greater than 2"""
      sample_rate = 41100
  
      data = torch.rand(5, 5, sample_rate)
      with warnings.catch_warnings(record=True) as w:
          warnings.simplefilter("always")
          T.Vad(sample_rate)(data)
      assert len(w) == 1
  
      data = torch.rand(5, sample_rate)
      with warnings.catch_warnings(record=True) as w:
          warnings.simplefilter("always")
          T.Vad(sample_rate)(data)
      assert len(w) == 0
  
      data = torch.rand(sample_rate)
      with warnings.catch_warnings(record=True) as w:
          warnings.simplefilter("always")
          T.Vad(sample_rate)(data)
      assert len(w) == 0
  
file_path: audio/test/torchaudio_unittest/transforms/sox_compatibility_test.py
imports: import warnings
  import torch
  import torchaudio.transforms
  from parameterized import parameterized
  from torchaudio_unittest.common_utils import get_asset_path, get_whitenoise, load_wav, save_wav, skipIfNoExec, skipIfNoSox, sox_utils, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 7 for calling the TestFunctionalFiltering obj's underlying member method code with example usage: obj.test_vad_warning() without return types