We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be5bdff commit a41e77aCopy full SHA for a41e77a
doc/fluid/api_cn/metrics_cn/EditDistance_cn.rst
@@ -25,7 +25,7 @@ EditDistance
25
batch_size = 128
26
27
# 初始化编辑距离管理器
28
- distances_evaluator = fluid.metrics.EditDistance("EditDistance")
+ distance_evaluator = fluid.metrics.EditDistance("EditDistance")
29
# 生成128个序列对间的编辑距离,此处的最大距离是10
30
edit_distances_batch0 = np.random.randint(low = 0, high = 10, size = (batch_size, 1))
31
seq_num_batch0 = batch_size
0 commit comments