Regression in TensorFlow Using Both Sequential and Function APIs