Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Subodh Malgonde authored and Subodh Malgonde committed Dec 20, 2017
1 parent 9bf680d commit 1511461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_optimize(optimize):
layers_output = tf.Variable(tf.zeros(shape))
correct_label = tf.placeholder(tf.float32, [None, None, None, num_classes])
learning_rate = tf.placeholder(tf.float32)
logits, train_op, cross_entropy_loss = optimize(layers_output, correct_label, learning_rate, num_classes)
logits, train_op, cross_entropy_loss, accuracy_op = optimize(layers_output, correct_label, learning_rate, num_classes)

_assert_tensor_shape(logits, [2*3*4, num_classes], 'Logits')

Expand Down

0 comments on commit 1511461

Please sign in to comment.