inputs = x + list(y or []) + list(sample_weights or [])