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