未验证 提交 bf6cb693 编写于 作者: D Dong Daxiang 提交者: GitHub

Merge branch 'develop' into develop

...@@ -25,7 +25,7 @@ EditDistance ...@@ -25,7 +25,7 @@ EditDistance
batch_size = 128 batch_size = 128
# 初始化编辑距离管理器 # 初始化编辑距离管理器
distances_evaluator = fluid.metrics.EditDistance("EditDistance") distance_evaluator = fluid.metrics.EditDistance("EditDistance")
# 生成128个序列对间的编辑距离,此处的最大距离是10 # 生成128个序列对间的编辑距离,此处的最大距离是10
edit_distances_batch0 = np.random.randint(low = 0, high = 10, size = (batch_size, 1)) edit_distances_batch0 = np.random.randint(low = 0, high = 10, size = (batch_size, 1))
seq_num_batch0 = batch_size seq_num_batch0 = batch_size
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册