practical-pytorch icon indicating copy to clipboard operation
practical-pytorch copied to clipboard

char rnn classification activation

Open siddBanPsu opened this issue 7 years ago • 0 comments

In the RNN code here: https://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html,

self.i2h = nn.Linear(input_size + hidden_size, hidden_size)
self.i2o = nn.Linear(input_size + hidden_size, output_size)

there seem to be no activation present, tanh or Relu as is normally seen in RNN's. Why was it done like this for this example?

siddBanPsu avatar Aug 06 '18 23:08 siddBanPsu