Home
last modified time | relevance | path

Searched refs:length_checksum (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.cc112 uint32 length_checksum = 0; // In-memory representation in ReadStringTensor() local
117 length_checksum = need_to_swap_bytes ? BYTE_SWAP_32(raw_length_checksum) in ReadStringTensor()
119 if (crc32c::Unmask(length_checksum) != *actual_crc32c) { in ReadStringTensor()
122 strings::Printf("%08u", crc32c::Unmask(length_checksum)), in ReadStringTensor()
278 const uint32 length_checksum = crc32c::Mask(*crc32c); in WriteStringTensor() local
280 reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)))); in WriteStringTensor()
282 *crc32c, reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)); in WriteStringTensor()
335 const uint32 length_checksum = crc32c::Mask(*crc32c); in WriteVariantTensor() local
337 reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)))); in WriteVariantTensor()
339 crc32c::Extend(*crc32c, reinterpret_cast<const char*>(&length_checksum), in WriteVariantTensor()