Skip to content

Commit 4c112d9

Browse files
authored
Fix typo "tesors" (#2138)
1 parent 6ff2344 commit 4c112d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/translation_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def tensor_transform(token_ids: List[int]):
266266
tensor_transform) # Add BOS/EOS and create tensor
267267

268268

269-
# function to collate data samples into batch tesors
269+
# function to collate data samples into batch tensors
270270
def collate_fn(batch):
271271
src_batch, tgt_batch = [], []
272272
for src_sample, tgt_sample in batch:

0 commit comments

Comments
 (0)