Remove unnecessary prefix in test name of edit_distance_op

add_depthwiseConv_op_gpu
Yibing Liu 8 years ago
parent f594ca4369
commit a1935b23c4

@ -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):
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

Loading…
Cancel
Save