modelzoo.transformers.data_processing.scripts.chunk_preprocessing.data_reader.get_data_size#
- modelzoo.transformers.data_processing.scripts.chunk_preprocessing.data_reader.get_data_size(data: Union[str, bytes]) int [source]#
Compute the size of the given data.
- Parameters
data (Union[str, bytes]) – Data whose size needs to be determined.
- Returns
Size of the given data in bytes.
- Return type
int