docstr: Test inverse_stft_window_fn in special overlap = 3/4 case.
docstr_tok: ["Test","inverse_stft_window_fn","in","special","overlap","=","3\/4","case","."]
code: def test_inverse_stft_window_fn_special_case(
      self, frame_length, frame_step
  ):
      """Test inverse_stft_window_fn in special overlap = 3/4 case."""
      # Cases in which frame_length is an integer multiple of 4 * frame_step are
      # special because they allow exact reproduction of the waveform with a
      # squared Hann window (Hann window in both forward and reverse transforms).
      # In the case where frame_length = 4 * frame_step, that combination
      # produces a constant gain of 1.5, and so the corrected window will be the
      # Hann window / 1.5.
      hann_window = window_ops.hann_window(
          frame_length, dtype=dtypes.float32
      )
      inverse_window_fn = spectral_ops.inverse_stft_window_fn(
          frame_step
      )
      inverse_window = inverse_window_fn(
          frame_length, dtype=dtypes.float32
      )
      self.assertAllClose(hann_window, inverse_window * 1.5)
  
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.signal import spectral_ops
  from tensorflow.python.ops.signal import window_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 11 for calling the SpectralOpsTest obj's underlying member method code with example usage: obj.test_inverse_stft_window_fn_special_case(frame_length, frame_step) without return types