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

Method forward

bert/modeling_bert.py:515–517  ·  view source on GitHub ↗
(self, sequence_output)

Source from the content-addressed store, hash-verified

513 self.predictions = BertLMPredictionHead(config)
514
515 def forward(self, sequence_output):
516 prediction_scores = self.predictions(sequence_output)
517 return prediction_scores
518
519
520class BertOnlyNSPHead(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected