class_docstr: Test suite for classes defined in `transforms` module
class_docstr_tok: ["Test","suite","for","classes","defined","in","`","transforms","`","module"]
code: def test_batch_PSD(self):
      waveform = common_utils.get_whitenoise(
          sample_rate=8000, duration=1, n_channels=6
      )
      specgram = common_utils.get_spectrogram(waveform, n_fft=400)
      specgram = specgram.reshape(
          3, 2, specgram.shape[-2], specgram.shape[-1]
      )
      transform = T.PSD()
  
      self.assert_batch_consistency(transform, specgram)
  
imports: import os
  import torch
  from parameterized import parameterized
  from torchaudio import transforms
  from torchaudio_unittest import common_utils
label_desc: Use image node_id 18 for calling the TestTransforms obj's underlying member method code with example usage: obj.test_batch_PSD() without return types