Skip to content

Commit ba2bf25

Browse files
Update dataloader.py
1 parent f761476 commit ba2bf25

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dataloader.py

-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def to_tensor(self, bc = None, bw = None, lens = None, sos = False, eos = False)
109109
if not self.batch_first:
110110
bw.transpose_(0, 1)
111111

112-
113112
if bc:
114113
wl = max(max(map(len, x)) for x in bc) # word length (Lw)
115114
wp = [p * (wl + 2)]

0 commit comments

Comments
 (0)