MCPcopy Index your code
hub / github.com/zai-org/CodeGeeX / size

Method size

codegeex/megatron/data/indexed_dataset.py:219–220  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

217 return self.sizes[index]
218
219 def size(self, index):
220 return self.sizes[index]
221
222 @staticmethod
223 def exists(path):

Callers 15

forwardMethod · 0.80
forwardMethod · 0.80
top_k_logitsFunction · 0.80
sample_sequence_batchFunction · 0.80
_transpose_first_dimFunction · 0.80
top_k_logitsFunction · 0.80
sample_sequence_batchFunction · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
add_itemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected