提交 a1935b23 编写于 作者: Y Yibing Liu

Remove unnecessary prefix in test name of edit_distance_op

上级 f594ca43
...@@ -34,7 +34,7 @@ def Levenshtein(hyp, ref): ...@@ -34,7 +34,7 @@ def Levenshtein(hyp, ref):
return dist[m][n] return dist[m][n]
class TestCTCEditDistanceOp(OpTest): class TestEditDistanceOp(OpTest):
def setUp(self): def setUp(self):
self.op_type = "edit_distance" self.op_type = "edit_distance"
normalized = False normalized = False
...@@ -62,7 +62,7 @@ class TestCTCEditDistanceOp(OpTest): ...@@ -62,7 +62,7 @@ class TestCTCEditDistanceOp(OpTest):
self.check_output() self.check_output()
class TestCTCEditDistanceOpNormalized(OpTest): class TestEditDistanceOpNormalized(OpTest):
def setUp(self): def setUp(self):
self.op_type = "edit_distance" self.op_type = "edit_distance"
normalized = True normalized = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册