class_docstr: Test functions defined in `functional` module
class_docstr_tok: ["Test","functions","defined","in","`","functional","`","module"]
code: def test_rtf_power_with_tensor(self, n_iter):
      channel = 4
      batch_size = 2
      n_fft_bin = 10
      psd_speech = torch.rand(
          batch_size, n_fft_bin, channel, channel, dtype=torch.cfloat
      )
      psd_noise = torch.rand(
          batch_size, n_fft_bin, channel, channel, dtype=torch.cfloat
      )
      reference_channel = torch.zeros(batch_size, channel)
      reference_channel[..., 0].fill_(1)
      kwargs = {
          "n_iter": n_iter,
      }
      func = partial(F.rtf_power, **kwargs)
      self.assert_batch_consistency(
          func, (psd_speech, psd_noise, reference_channel)
      )
  
imports: import itertools
  import math
  from functools import partial
  import torch
  import torchaudio.functional
  from parameterized import parameterized, parameterized_class
  from torchaudio_unittest import common_utils
label_desc: Use image node_id 24 for calling the TestFunctional obj's underlying member method code with example usage: obj.test_rtf_power_with_tensor(n_iter) without return types