class_docstr: Implements test for Transforms that are performed for different devices
class_docstr_tok: ["Implements","test","for","Transforms","that","are","performed","for","different","devices"]
code: def test_Resample(self):
      sr1, sr2 = 16000, 8000
      tensor = common_utils.get_whitenoise(sample_rate=sr1)
      self._assert_consistency(T.Resample(sr1, sr2), tensor)
  
imports: import torch
  import torchaudio.transforms
  from parameterized import parameterized
  from torchaudio_unittest import common_utils
  from torchaudio_unittest.common_utils import skipIfRocm, TestBaseMixin, torch_script
label_desc: Use image node_id 12 for calling the Transforms obj's underlying member method code with example usage: obj.test_Resample() without return types