MCPcopy
hub / github.com/hunkim/PyTorchZeroToAll / 14_1_seq2seq.py

File 14_1_seq2seq.py

14_1_seq2seq.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# https://github.com/spro/practical-pytorch/blob/master/seq2seq-translation/seq2seq-translation.ipynb
2import torch
3import torch.nn as nn
4from torch.utils.data import DataLoader

Callers

nothing calls this directly

Calls 4

TextDatasetClass · 0.90
testFunction · 0.70
trainFunction · 0.70
translateFunction · 0.70

Tested by

no test coverage detected