Why TrOCR processor has a feature extractor?

yes you got it right, np.repeat along the last dimension, should do the job