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

Method forward

bert/modeling_bert.py:525–527  ·  view source on GitHub ↗
(self, pooled_output)

Source from the content-addressed store, hash-verified

523 self.seq_relationship = nn.Linear(config.hidden_size, 2)
524
525 def forward(self, pooled_output):
526 seq_relationship_score = self.seq_relationship(pooled_output)
527 return seq_relationship_score
528
529
530class BertPreTrainingHeads(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected