Back to Tensorflow

tflite::FileCopyAllocation

tensorflow/lite/g3doc/api_docs/cc/class/tflite/file-copy-allocation.html

2.21.0996 B
Original Source

tflite::FileCopyAllocation

Summary

Inheritance

Inherits from: tflite::Allocation

|

Constructors and Destructors

| | --- | | FileCopyAllocation(const char *filename, ErrorReporter *error_reporter)

Loads the provided file into a heap memory region. | | ~FileCopyAllocation()
|

|

Public functions

| | --- | | base() const override | const void * | | bytes() const override | size_t | | valid() const override | bool |

Public functions

FileCopyAllocation

FileCopyAllocation(
  const char *filename,[ErrorReporter](/lite/api_docs/cc/class/tflite/error-reporter.html#classtflite_1_1_error_reporter)*error_reporter
)

Loads the provided file into a heap memory region.

base

const void * base() const override

bytes

size_t bytes() const override

valid

bool valid() const override

~FileCopyAllocation

~FileCopyAllocation() override