Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ forward
Method
forward
distributed/rpc/rnn/rnn.py:69–70 ·
view source on GitHub ↗
(self, output)
Source
from the content-addressed store, hash-verified
67
nn.init.uniform_(self.decoder.weight, -0.1, 0.1)
68
69
def
forward(self, output):
70
return
self.decoder(self.drop(output))
71
72
73
class
RNNModel(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected