def custom_polynomial(x_val): # Return 3x^2 - x + 10 return(tf.sub(3 * tf.square(x_val), x_val) + 10)