class_docstr: Framepow extraction test.
code: def test_framepow(self):
      wav_path = str(Path(PACKAGE_OPS_DIR).joinpath("data/sm1_cln.wav"))
  
      with self.cached_session(use_gpu=False, force_gpu=False):
          read_wav = ReadWav.params().instantiate()
          input_data, sample_rate = read_wav(wav_path)
  
          framepow = Framepow.params(
              {"window_length": 0.025, "frame_length": 0.010}
          ).instantiate()
          framepow_test = framepow(input_data, sample_rate)
  
          real_framepow_feats = np.array(
              [9.819611, 9.328745, 9.247337, 9.26451, 9.266059]
          )
  
          self.assertEqual(tf.rank(framepow_test).eval(), 1)
          self.assertAllClose(
              framepow_test.eval()[0:5], real_framepow_feats
          )
  
file_path: delta/delta/data/frontend/framepow_test.py
imports: import os
  import numpy
  from pathlib import Path
  import delta.compat
  from core.ops import PACKAGE_OPS_DIR
  from delta.data.frontend.read_wav import ReadWav
  from delta.data.frontend.framepow import Framepow
label_desc: Use image node_id 1 for calling the FramepowTest obj's underlying member method code with example usage: obj.test_framepow() without return types