From b0d080ab388833d40e8929919f9725d31ab841b6 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 2 Mar 2018 02:30:41 +0000 Subject: [PATCH] Deploy to GitHub Pages: acbda44c119d73e371570bf81063f3bb1e274e2e --- develop/api_doc/fluid/layers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/develop/api_doc/fluid/layers.html b/develop/api_doc/fluid/layers.html index 775a6895004..b46eafa527e 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 -- GitLab