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

Method forward

codegeex/oneflow/codegeex_model.py:878–882  ·  view source on GitHub ↗
(self, position_ids)

Source from the content-addressed store, hash-verified

876 self._top_query_embeddings_key = 'top_query_embeddings'
877
878 def forward(self, position_ids):
879 # Embeddings.
880 embeddings = self.top_query_embeddings(position_ids)
881
882 return embeddings
883
884 def state_dict_for_save_checkpoint(self, destination=None, prefix='',
885 keep_vars=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected