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.cc99 uint32 length_checksum = 0; in ReadStringTensor() local
102 sizeof(uint32), reinterpret_cast<char*>(&length_checksum), in ReadStringTensor()
104 if (crc32c::Unmask(length_checksum) != *actual_crc32c) { in ReadStringTensor()
107 strings::Printf("%08u", crc32c::Unmask(length_checksum)), in ReadStringTensor()
111 crc32c::Extend(*actual_crc32c, reinterpret_cast<char*>(&length_checksum), in ReadStringTensor()
262 const uint32 length_checksum = crc32c::Mask(*crc32c); in WriteStringTensor() local
264 reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)))); in WriteStringTensor()
266 *crc32c, reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)); in WriteStringTensor()
315 const uint32 length_checksum = crc32c::Mask(*crc32c); in WriteVariantTensor() local
317 reinterpret_cast<const char*>(&length_checksum), sizeof(uint32)))); in WriteVariantTensor()
[all …]