cerebras.modelzoo.data_preparation.data_preprocessing.data_reader.get_data_size#

cerebras.modelzoo.data_preparation.data_preprocessing.data_reader.get_data_size(data)[source]#

Compute the size of the given data.

Parameters

data (Any) – Data whose size needs to be determined.

Returns

Size of the given data in bytes.

Return type

int