title: TensorFlow and Keras // 2 dimensional input /1st day beginner
body: <p>It is my first day with tf and keras. I had a quick tutorial which worked fine, but left me with a lot of questions.
  Can someone show me how to get two data inputs instead of one?</p>
  <pre class="lang-py prettyprint-override"><code>import keras
  import numpy as np
  
  model = keras.Sequential([keras.layers.Dense(units=1, input_shape=[1])])
  model.compile(optimizer='sgd',loss='mean_squared_error')
  
  
  xs = np.array([1,2,3,4,5,6,7], dtype=int) # input data 1
  ys = np.array([8,11,14,17,20,23,26], dtype=int)
  
  # formel is : 3*x+5
  
  model.fit(xs, ys, epochs=500)
  
  print(model.predict([10.0]))
  </code></pre>