MCPcopy Create free account
hub / github.com/Modulus-Labs/RockyBot / forward

Method forward

pytorch-model/models.py:125–131  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

123 self.linear_5 = nn.Linear(in_features=self.h4_dim, out_features=self.out_dim)
124
125 def forward(self, x):
126 h1 = self.activ_1(self.linear_1(x))
127 h2 = self.activ_2(self.linear_2(h1))
128 h3 = self.activ_3(self.linear_3(h2))
129 h4 = self.activ_4(self.linear_4(h3))
130 out = self.linear_5(h4)
131 return out
132
133
134class Simple_LSTM_Classifier(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected