Commit 55656e37 authored by Yong Tang's avatar Yong Tang
Browse files

Fix incorrect doc in sparse_softmax_cross_entropy_with_logits

This fix fixes the incorrect doc in sparse_softmax_cross_entropy_with_logits.
In sparse_softmax_cross_entropy_with_logits, `labels` must be `int32` or `int64`,
as is seen in:
https://github.com/tensorflow/tensorflow/blob/46cf73f0214bc6208295e36650f1a8ffde4abdd7/tensorflow/core/ops/nn_ops.cc#L1092-L1099



This fix fixes 21435.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent aed8f42b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment