MCPcopy Create free account
hub / github.com/OpenMOSS/MOSS / execute

Method execute

models_jittor/model.py:190–195  ·  view source on GitHub ↗
(self, hidden_states: Optional[jt.Var])

Source from the content-addressed store, hash-verified

188 self.dropout = nn.Dropout(config.resid_pdrop)
189
190 def execute(self, hidden_states: Optional[jt.Var]) -> jt.Var:
191 hidden_states = self.fc_in(hidden_states)
192 hidden_states = self.act(hidden_states)
193 hidden_states = self.fc_out(hidden_states)
194 hidden_states = self.dropout(hidden_states)
195 return hidden_states
196
197
198class MossBlock(Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected