Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/
Dallocation.cc81 MemoryAllocation::MemoryAllocation(const void* ptr, size_t num_bytes, in MemoryAllocation() function in tflite::MemoryAllocation
107 MemoryAllocation::~MemoryAllocation() {} in ~MemoryAllocation()
109 const void* MemoryAllocation::base() const { return buffer_; } in base()
111 size_t MemoryAllocation::bytes() const { return buffer_size_bytes_; } in bytes()
113 bool MemoryAllocation::valid() const { return buffer_ != nullptr; } in valid()
Dallocation.h95 class MemoryAllocation : public Allocation {
100 MemoryAllocation(const void* ptr, size_t num_bytes,
102 virtual ~MemoryAllocation();
Dmodel_builder.cc107 new MemoryAllocation(caller_owned_buffer, buffer_size, error_reporter)); in BuildFromBuffer()
/external/tensorflow/
DRELEASE.md1425 * Add check for memory alignment to MemoryAllocation::MemoryAllocation()
1708 * Add check for correct memory alignment to `MemoryAllocation::MemoryAllocation()`.