MCPcopy Create free account
hub / github.com/THUDM/GLM / forward

Method forward

model/modeling_bert.py:667–669  ·  view source on GitHub ↗
(self, pooled_output)

Source from the content-addressed store, hash-verified

665 self.seq_relationship = nn.Linear(config.hidden_size, 2)
666
667 def forward(self, pooled_output):
668 seq_relationship_score = self.seq_relationship(pooled_output)
669 return seq_relationship_score
670
671
672class BertPreTrainingHeads(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected