Create inter_part.h

all inter steps of predicting and transforming (on host)