Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hunkim/PyTorchZeroToAll
/ 13_2_rnn_classification.py
File
13_2_rnn_classification.py
13_2_rnn_classification.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Original code is from https://github.com/spro/practical-pytorch
2
import
time
3
import
math
4
import
torch
Callers
nothing calls this directly
Calls
5
NameDataset
Class · 0.90
get_countries
Method · 0.80
RNNClassifier
Class · 0.70
train
Function · 0.70
test
Function · 0.70
Tested by
no test coverage detected