class_docstr: STFT decoder for speech enhancement and separation
class_docstr_tok: ["STFT","decoder","for","speech","enhancement","and","separation"]
code: def _get_window_func(self):
      window_func = getattr(torch, f"{self.window}_window")
      window = window_func(self.win_length)
      n_pad_left = (self.n_fft - window.shape[0]) // 2
      n_pad_right = self.n_fft - window.shape[0] - n_pad_left
      return window
  
file_path: espnet/espnet2/enh/decoder/stft_decoder.py
imports: import torch
  import torch_complex
  from packaging.version import parse
  from torch_complex.tensor import ComplexTensor
  from espnet2.enh.decoder.abs_decoder import AbsDecoder
  from espnet2.enh.layers.complex_utils import is_torch_complex_tensor
  from espnet2.layers.stft import Stft
label_desc: Use image node_id 5 for calling the STFTDecoder obj's underlying member method code with example usage: obj._get_window_func() and returns: window