code: def test_STFTDecoder_complex32_dtype(
      n_fft,
      win_length,
      hop_length,
      window,
      center,
      normalized,
      onesided,
  ):
      decoder = STFTDecoder(
          n_fft=n_fft,
          win_length=win_length,
          hop_length=hop_length,
          window=window,
          center=center,
          normalized=normalized,
          onesided=onesided,
      )
      x = torch.rand(
          2,
          300,
          n_fft // 2 + 1 if onesided else n_fft,
          dtype=torch.complex32,
          requires_grad=True,
      )
      x_lens = torch.tensor(
          [300 * hop_length, 295 * hop_length], dtype=torch.long
      )
      y, ilens = decoder(x, x_lens)
      (y.real.pow(2) + y.imag.pow(2)).sum().backward()
  
file_path: espnet/test/espnet2/enh/decoder/test_stft_decoder.py
imports: import pytest
  import torch
  import torch_complex
  from packaging.version import parse
  from torch_complex import ComplexTensor
  from espnet2.enh.decoder.stft_decoder import STFTDecoder
  from espnet2.enh.encoder.stft_encoder import STFTEncoder
label_desc: Use image node_id 4 for calling a global function with example usage: test_STFTDecoder_complex32_dtype(n_fft, win_length, hop_length, window, center, normalized, onesided) without return types