MCPcopy
hub / github.com/hunkim/PyTorchZeroToAll / 13_3_char_rnn.py

File 13_3_char_rnn.py

13_3_char_rnn.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# https://github.com/spro/practical-pytorch
2import torch
3import torch.nn as nn
4from torch.autograd import Variable

Callers

nothing calls this directly

Calls 4

TextDatasetClass · 0.90
generateFunction · 0.85
RNNClass · 0.70
trainFunction · 0.70

Tested by

no test coverage detected