We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9842501 commit e500a82Copy full SHA for e500a82
1 file changed
lab-04-3-multi_variable_linear_regression_feed.py
@@ -14,7 +14,7 @@
14
hypothesis = tf.matmul(x, W) + b
15
16
# Simplified cost function
17
-with tf.control_dependencies(y.shape.assert_same_rank(y)):
+with tf.control_dependencies(y.shape.assert_same_rank(hypothesis)):
18
cost = tf.reduce_mean(tf.square(hypothesis - y))
19
20
# Minimize
0 commit comments