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

Method get_output_embeddings

bert/modeling_bert.py:787–788  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

785 self.init_weights()
786
787 def get_output_embeddings(self):
788 return self.cls.predictions.decoder
789
790 @add_start_docstrings_to_callable(BERT_INPUTS_DOCSTRING.format("(batch_size, sequence_length)"))
791 def forward(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected