Searched refs:actual_crc32c (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 74 uint32* actual_crc32c, bool need_to_swap_bytes) { in ReadStringTensor() argument 92 *actual_crc32c = crc32c::Extend( in ReadStringTensor() 93 *actual_crc32c, reinterpret_cast<const char*>(&elem_size_uint32), in ReadStringTensor() 100 *actual_crc32c = in ReadStringTensor() 101 crc32c::Extend(*actual_crc32c, reinterpret_cast<const char*>(&length), in ReadStringTensor() 119 if (crc32c::Unmask(length_checksum) != *actual_crc32c) { in ReadStringTensor() 123 " but actual is ", strings::Printf("%08u", *actual_crc32c)); in ReadStringTensor() 125 *actual_crc32c = crc32c::Extend(*actual_crc32c, in ReadStringTensor() 138 *actual_crc32c = crc32c::Extend(*actual_crc32c, buffer->data(), bytes_read); in ReadStringTensor() 144 size_t offset, size_t size, uint32* actual_crc32c) { in ReadVariantTensor() argument [all …]
|