Update tensorflow/python/ops/array_ops.py

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

View File

@ -3527,7 +3527,7 @@ def edit_distance(hypothesis, truth, normalize=True, name="edit_distance"):
array([[inf, 1. ],
[0.5, 1. ]], dtype=float32)>
The operaton returns a dense Tensor of shape `(2, 2)` with
The operaton returns a dense Tensor of shape `[2, 2]` with
edit distances normalized by `truth` lengths.
**Note**: It is possible to calculate edit distance between two