MCPcopy Create free account
hub / github.com/pytorch/examples / data.py

File data.py

language_translation/src/data.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torch
2from torch.nn.utils.rnn import pad_sequence
3from torch.utils.data import DataLoader
4from torchtext.data.utils import get_tokenizer

Callers

nothing calls this directly

Calls 2

OptsClass · 0.85
get_dataFunction · 0.85

Tested by

no test coverage detected