MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / forward

Method forward

codegeex/torch/codegeex_model.py:786–790  ·  view source on GitHub ↗
(self, position_ids)

Source from the content-addressed store, hash-verified

784 self._top_query_embeddings_key = 'top_query_embeddings'
785
786 def forward(self, position_ids):
787 # Embeddings.
788 embeddings = self.top_query_embeddings(position_ids)
789
790 return embeddings
791
792 def state_dict_for_save_checkpoint(self, destination=None, prefix='',
793 keep_vars=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected