MCPcopy Create free account
hub / github.com/SooLab/CGFormer / forward

Method forward

bert/modeling_bert.py:331–334  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

329 self.intermediate_act_fn = config.hidden_act
330
331 def forward(self, hidden_states):
332 hidden_states = self.dense(hidden_states)
333 hidden_states = self.intermediate_act_fn(hidden_states)
334 return hidden_states
335
336
337class BertOutput(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected