Skip to content

Commit

Permalink
Fix a wrong variable name. (#10090)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaoshuang authored and abhinavarora committed Apr 21, 2018
1 parent 3aacde2 commit d89a306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/fluid/layers/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d89a306

Please sign in to comment.