Update tensorflow/python/ops/array_ops.py

This commit is contained in:
Mihai Maruseac 2020-04-06 16:50:17 +00:00 committed by GitHub
parent 16028e280d
commit 26e4ac1d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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