提交 d89a3068 编写于 作者: W whs 提交者: Abhinav Arora

Fix a wrong variable name. (#10090)

上级 3aacde29
......@@ -2688,7 +2688,7 @@ def edit_distance(input, label, normalized=True, ignored_tokens=None,
helper.append_op(
type="sequence_erase",
inputs={"X": [label]},
outputs={"Out": [erase_label]},
outputs={"Out": [erased_label]},
attrs={"tokens": ignored_tokens})
label = erased_label
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册