Skip to content

Commit bf41736

Browse files
committed
update
1 parent ae7925d commit bf41736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ann_class/tf_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def forward(X, W1, b1, W2, b2):
5858
logits = forward(tfX, W1, b1, W2, b2)
5959

6060
cost = tf.reduce_mean(
61-
tf.nn.softmax_cross_entropy_with_logits(
61+
tf.nn.softmax_cross_entropy_with_logits_v2(
6262
labels=tfY,
6363
logits=logits
6464
)

0 commit comments

Comments
 (0)