Validates model inputs match encoder.