[predictor] Removed the buffer from the context struct, allocate the input slice buffer on creation with make.