src/transformers/models/mctct/feature_extraction_mctct.py/MCTCTFeatureExtractor/_num_frames_calc
class MCTCTFeatureExtractor:    def _num_frames_calc(in_size, frame_size, frame_stride):
        return int(1 + np.floor((in_size - frame_size) * 1 / frame_stride))