Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dbyte_swap.cc113 char* backing_buffer = const_cast<char*>((t->tensor_data().data())); in ByteSwapTensor() local
114 TF_RETURN_IF_ERROR(ByteSwapArray(backing_buffer, bytes_per_elem, array_len)); in ByteSwapTensor()
Dtensor_bundle.cc888 char* backing_buffer = const_cast<char*>((ret->tensor_data().data())); in GetValue() local
893 entry.offset(), entry.size(), &sp, backing_buffer)); in GetValue()
894 if (sp.data() != backing_buffer) { in GetValue()
895 memmove(backing_buffer, sp.data(), entry.size()); in GetValue()
898 TF_RETURN_IF_ERROR(buffered_file->ReadNBytes(entry.size(), backing_buffer, in GetValue()
903 actual_crc32c = crc32c::Value(backing_buffer, entry.size()); in GetValue()