root
2023-02-27 e0a6daebf2646b0612b13e12979a2bb7164c54b8
funasr/runtime/python/onnxruntime/rapid_paraformer/utils.py
@@ -165,7 +165,8 @@
                                  frame_shift=self.frame_shift,
                                  dither=self.dither,
                                  energy_floor=0.0,
                                  sample_frequency=self.fs)
                                  sample_frequency=self.fs,
                                  window_type=self.window)
        feat = mat.astype(np.float32)
        feat_len = np.array(mat.shape[0]).astype(np.int32)
        return feat, feat_len