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

Method forward

model/modeling_bert.py:450–453  ·  view source on GitHub ↗
(self, input_tensor, attention_mask)

Source from the content-addressed store, hash-verified

448 self.output = BertSelfOutput(config)
449
450 def forward(self, input_tensor, attention_mask):
451 self_output = self.self(input_tensor, attention_mask)
452 attention_output = self.output(self_output, input_tensor)
453 return attention_output
454
455
456class BertIntermediate(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected