Skip to content

Commit adcfde3

Browse files
committed
Modify unitest
1 parent 0c10b5f commit adcfde3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/paddle/v2/fluid/tests/test_ctc_decode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def test_check_output(self):
5050
class TestCTCDecodeOpCase1(TestCTCDecodeOp):
5151
def config(self):
5252
self.op_type = "ctc_decode"
53-
self.input_lod = [[0, 11, 18]]
53+
self.input_lod = [[0, 11, 19]]
5454
self.blank = 0
5555
self.merge_repeated = True
5656
self.input = np.array(
57-
[0, 1, 2, 2, 0, 4, 0, 4, 5, 0, 6, 6, 0, 0, 7, 7, 7, 0]).reshape(
58-
[18, 1]).astype("int32")
57+
[0, 1, 2, 2, 0, 4, 0, 4, 5, 0, 6, 6, 0, 0, 7, 7, 7, 0, 0]).reshape(
58+
[19, 1]).astype("int32")
5959

6060

6161
if __name__ == "__main__":

0 commit comments

Comments
 (0)