Home
last modified time | relevance | path

Searched refs:MemoryAllocation (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dallocation.cc77 MemoryAllocation::MemoryAllocation(const void* ptr, size_t num_bytes, in MemoryAllocation() function in tflite::MemoryAllocation
84 MemoryAllocation::~MemoryAllocation() {} in ~MemoryAllocation()
86 const void* MemoryAllocation::base() const { return buffer_; } in base()
88 size_t MemoryAllocation::bytes() const { return buffer_size_bytes_; } in bytes()
90 bool MemoryAllocation::valid() const { return buffer_ != nullptr; } in valid()
Dallocation.h78 class MemoryAllocation : public Allocation {
83 MemoryAllocation(const void* ptr, size_t num_bytes,
85 virtual ~MemoryAllocation();
Dmodel.cc129 new MemoryAllocation(caller_owned_buffer, buffer_size, error_reporter)); in BuildFromBuffer()
/external/tensorflow/tensorflow/contrib/lite/
Dallocation.h79 class MemoryAllocation : public Allocation {
84 MemoryAllocation(const void* ptr, size_t num_bytes,
86 virtual ~MemoryAllocation();