MCPcopy Create free account
hub / github.com/Tencent/NeuralNLP-NeuralClassifier / RNNType

Class RNNType

model/rnn.py:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20class RNNType(Type):
21 RNN = 'RNN'
22 LSTM = 'LSTM'
23 GRU = 'GRU'
24
25 @classmethod
26 def str(cls):
27 return ",".join([cls.RNN, cls.LSTM, cls.GRU])
28
29
30class RNN(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected