Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/lite/tools/
Dverifier.cc37 const uint32_t* GetIntPtr(const char* ptr) { in GetIntPtr() function
61 uint32_t num_strings = *GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer()
81 if (*GetIntPtr(buffer_ptr + offset) != header_offsets) { in VerifyStringTensorBuffer()
89 int string_offset = *GetIntPtr(buffer_ptr + offset); in VerifyStringTensorBuffer()
96 if (*GetIntPtr(buffer_ptr + offset - sizeof(int32_t)) != buffer_size) { in VerifyStringTensorBuffer()
/external/tensorflow/tensorflow/contrib/lite/
Dstring_util.cc27 int32_t* GetIntPtr(char* ptr) { return reinterpret_cast<int32_t*>(ptr); } in GetIntPtr() function
105 return *GetIntPtr(tensor->data.raw); in GetStringCount()
110 GetIntPtr(tensor->data.raw + sizeof(int32_t) * (string_index + 1)); in GetString()