Searched refs:actual_crc32c (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 71 uint32* actual_crc32c) { in ReadStringTensor() argument 84 *actual_crc32c = crc32c::Extend( in ReadStringTensor() 85 *actual_crc32c, reinterpret_cast<const char*>(&elem_size_uint32), in ReadStringTensor() 88 *actual_crc32c = crc32c::Extend( in ReadStringTensor() 89 *actual_crc32c, reinterpret_cast<const char*>(&string_lengths[i]), in ReadStringTensor() 104 if (crc32c::Unmask(length_checksum) != *actual_crc32c) { in ReadStringTensor() 108 " but actual is ", strings::Printf("%08u", *actual_crc32c)); in ReadStringTensor() 110 *actual_crc32c = in ReadStringTensor() 111 crc32c::Extend(*actual_crc32c, reinterpret_cast<char*>(&length_checksum), in ReadStringTensor() 123 *actual_crc32c = crc32c::Extend(*actual_crc32c, buffer->data(), bytes_read); in ReadStringTensor() [all …]
|