Better docs of returned tensor in ctc_ops.py ()

* Better docs of returned tensor in ctc_ops.py

'Logits' aren't a meaningful word for what the ctc_cost function returns. Browsing the implementation (tensorflow/tensorflow/core/util/ctc/) I saw that the cost function is returning the minus log probabilities of the target labelling, so, this new comment erases any doubt. Thanks!

* Update ctc_ops.py
This commit is contained in:
Igor Macedo Quintanilha 2016-06-28 19:30:41 -03:00 committed by Rasmus Munk Larsen
parent cee7cdd23d
commit 214ba59755

View File

@ -95,7 +95,7 @@ def ctc_loss(inputs, labels, sequence_length,
ctc_merge_repeated: Boolean. Default: True.
Returns:
A 1-D `float` `Tensor`, size `[batch]`, containing logits.
A 1-D `float` `Tensor`, size `[batch]`, containing the negative log probabilities.
Raises:
TypeError: if labels is not a `SparseTensor`.