Basic interface for the data preprocessing.
It operates on FloatArray.
Transforms data with inputShape to the new data with the same shape.