3.3. Forward propagation

In [15]:
# Forward-propagation
# Define a simple logistic model z=wx+b
# y_pred will contain predictions the model makes.
prediction = tf.matmul(data, W) + b