Introduction
Get Started
Prepare your data
Cerebras PyTorch API
cerebras.pytorch
cerebras.pytorch.amp
cerebras.pytorch.optim
cerebras.pytorch.sparse
cerebras.pytorch.metrics
Cerebras Model Zoo
Cerebras Guides
Fundamentals
Support
Compute the size of the given data.
data (Any) – Data whose size needs to be determined.
Size of the given data in bytes.
int
previous
cerebras.modelzoo.data_preparation.nlp.chunk_data_processing.data_reader.find_last_paragraph_or_sentence_end
next
cerebras.modelzoo.data_preparation.nlp.chunk_data_processing.data_reader.optional_lock