Fix a wrong variable name. (#10090)

wangkuiyi-patch-2
whs 7 years ago committed by Abhinav Arora
parent 3aacde2903
commit d89a30680e

@ -2688,7 +2688,7 @@ def edit_distance(input, label, normalized=True, ignored_tokens=None,
helper.append_op( helper.append_op(
type="sequence_erase", type="sequence_erase",
inputs={"X": [label]}, inputs={"X": [label]},
outputs={"Out": [erase_label]}, outputs={"Out": [erased_label]},
attrs={"tokens": ignored_tokens}) attrs={"tokens": ignored_tokens})
label = erased_label label = erased_label

Loading…
Cancel
Save