src/transformers/models/mctct/feature_extraction_mctct.py/MCTCTFeatureExtractor/_windowing
class MCTCTFeatureExtractor:    def _windowing(frames, window_length, window):
        if frames.size % window_length != 0:
            raise ValueError(
                f"`frames` is supposed to have length divisble by `window_length`, but is {frames.size} with"
                f" window_length={window_length}."
            )

        shaped = frames.reshape(-1, window_length)
        shaped = window * shaped
        return shaped