I am following a lecture where we get introduced how to instaintiate weights.

```
X_train = np.array([[1.0], [2.0]], dtype=np.float32)
Y_train = np.array([[300.0], [500.0]], dtype=np.float32)
linear_layer = tf.keras.layers.Dense(units=1, activation = 'linear', )
a1 = linear_layer(X_train[0].reshape(1,1))
```

I don’t understand why I have to reshape the input features for the Dense function with `X_train[0].reshape(1,1)`

.