Update tensorflow/python/ops/array_ops.py

This commit is contained in:
Mihai Maruseac 2020-04-06 16:50:35 +00:00 committed by GitHub
parent 05edf7e11b
commit 28769b2b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3508,7 +3508,7 @@ def edit_distance(hypothesis, truth, normalize=True, name="edit_distance"):
Given the following input,
* `hypothesis` is a `tf.SparseTensor` of shape `[2, 1, 1]`
* `truth` is a `tf.SparseTensor` of shape `(2, 2, 2)`
* `truth` is a `tf.SparseTensor` of shape `[2, 2, 2]`
>>> hypothesis = tf.SparseTensor(
... [[0, 0, 0],