Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some errors I noticed #2

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Some errors I noticed #2

merged 1 commit into from
Jan 8, 2019

Commits on Jan 8, 2019

  1. Some errors I noticed

    since we cannot iterate through a float its better we take the floor division of 
    (len(train_x) / batch_size) ==> (len(train_x) // batch_size)
    
    can't specify softmax_cross_entropy_with_logits without labels or logits  
    tf.nn.softmax_cross_entropy_with_logits( y, y_) ==> tf.nn.softmax_cross_entropy_with_logits(labels = y_, logits = y)
    och234 committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    a29a1d4 View commit details
    Browse the repository at this point in the history