diff --git a/develop/api_doc/fluid/layers.html b/develop/api_doc/fluid/layers.html index 775a68950043a508b388852152f3ffb09a3d29a8..b46eafa527e11e35075943fdaf55190763eb867e 100644 --- a/develop/api_doc/fluid/layers.html +++ b/develop/api_doc/fluid/layers.html @@ -2625,7 +2625,7 @@ empty, the result LoDTensor will be [-1] with LoD [[0]] and dims [1, 1].

edit_distanceΒΆ

-paddle.fluid.layers.edit_distance(input, label, normalized=False, ignored_tokens=None, name=None)
+paddle.fluid.layers.edit_distance(input, label, normalized=True, ignored_tokens=None, name=None)

EditDistance operator computes the edit distances between a batch of hypothesis strings and their references. Edit distance, also called Levenshtein distance, measures how dissimilar two strings are by counting