Home
last modified time | relevance | path

Searched refs:tensor_arena (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/
Drecording_micro_interpreter.h39 uint8_t* tensor_arena, size_t tensor_arena_size, in RecordingMicroInterpreter() argument
43 tensor_arena, tensor_arena_size, error_reporter), in RecordingMicroInterpreter()
Drecording_micro_allocator.cc33 uint8_t* tensor_arena, size_t arena_size, ErrorReporter* error_reporter) { in Create() argument
37 RecordingSimpleMemoryAllocator::Create(error_reporter, tensor_arena, in Create()
Drecording_micro_allocator.h57 static RecordingMicroAllocator* Create(uint8_t* tensor_arena,
Dmicro_interpreter.cc109 uint8_t* tensor_arena, in MicroInterpreter() argument
116 allocator_(*MicroAllocator::Create(tensor_arena, tensor_arena_size, in MicroInterpreter()
Dmicro_allocator.h108 static MicroAllocator* Create(uint8_t* tensor_arena, size_t arena_size,
Dmicro_interpreter.h87 uint8_t* tensor_arena, size_t tensor_arena_size,
Dmicro_allocator.cc606 MicroAllocator* MicroAllocator::Create(uint8_t* tensor_arena, size_t arena_size, in Create() argument
608 uint8_t* aligned_arena = AlignPointerUp(tensor_arena, kBufferAlignment); in Create()
609 size_t aligned_arena_size = tensor_arena + arena_size - aligned_arena; in Create()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/
Dmain_functions.cc44 static uint8_t tensor_arena[kTensorArenaSize]; variable
86 model, micro_op_resolver, tensor_arena, kTensorArenaSize, error_reporter); in setup()
Dperson_detection_test.cc29 uint8_t tensor_arena[tensor_arena_size]; variable
60 tflite::MicroInterpreter interpreter(model, micro_op_resolver, tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/benchmarks/
Dkeyword_benchmark.cc43 alignas(16) uint8_t tensor_arena[kTensorArenaSize]; variable
62 tensor_arena, kTensorArenaSize, profiler); in CreateBenchmarkRunner()
Dmicro_benchmark.h36 uint8_t* tensor_arena, int tensor_arena_size, in MicroBenchmarkRunner() argument
38 : interpreter_(GetModel(model), *op_resolver, tensor_arena, in MicroBenchmarkRunner()
Dperson_detection_benchmark.cc43 alignas(16) uint8_t tensor_arena[kTensorArenaSize]; variable
57 new (op_resolver_buffer) PersonDetectionOpResolver(), tensor_arena, in CreateBenchmarkRunner()
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/
Dmain_functions.cc41 uint8_t tensor_arena[kTensorArenaSize]; variable
78 model, micro_op_resolver, tensor_arena, kTensorArenaSize, error_reporter); in setup()
Dmagic_wand_test.cc56 uint8_t tensor_arena[tensor_arena_size]; in TF_LITE_MICRO_TEST() local
59 tflite::MicroInterpreter interpreter(model, micro_op_resolver, tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/hello_world/
Dmain_functions.cc37 uint8_t tensor_arena[kTensorArenaSize]; variable
67 model, resolver, tensor_arena, kTensorArenaSize, error_reporter); in setup()
Dhello_world_test.cc49 uint8_t tensor_arena[kTensorArenaSize]; in TF_LITE_MICRO_TEST() local
52 tflite::MicroInterpreter interpreter(model, resolver, tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/image_recognition_experimental/
Dmain.cc67 uint8_t tensor_arena[tensor_arena_size]; in main() local
68 tflite::MicroInterpreter interpreter(model, micro_op_resolver, tensor_arena, in main()
Dimage_recognition_test.cc50 uint8_t tensor_arena[tensor_arena_size]; in TF_LITE_MICRO_TEST() local
52 tflite::MicroInterpreter interpreter(model, micro_op_resolver, tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3/
Dpushbutton_test.cc75 uint8_t tensor_arena[tensor_arena_size]; in TF_LITE_MICRO_TEST() local
76 tflite::SimpleTensorAllocator tensor_allocator(tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Dmain_functions.cc44 uint8_t tensor_arena[kTensorArenaSize]; variable
94 model, micro_op_resolver, tensor_arena, kTensorArenaSize, error_reporter); in setup()
Dmicro_speech_test.cc56 uint8_t tensor_arena[tensor_arena_size]; in TF_LITE_MICRO_TEST() local
59 tflite::MicroInterpreter interpreter(model, micro_op_resolver, tensor_arena, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ceva/
Dmain_functions.cc71 uint8_t tensor_arena[kTensorArenaSize]; variable
117 model, micro_op_resolver, tensor_arena, kTensorArenaSize, error_reporter); in setup_tf()
/external/tensorflow/tensorflow/lite/micro/examples/network_tester/
Dnetwork_tester_test.cc34 uint8_t tensor_arena[TENSOR_ARENA_SIZE]; variable
88 model, resolver, tensor_arena, TENSOR_ARENA_SIZE, &micro_error_reporter); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/g3doc/microcontrollers/
Dget_started.md191 uint8_t tensor_arena[tensor_arena_size];
203 tflite::MicroInterpreter interpreter(model, resolver, tensor_arena,
209 We tell the interpreter to allocate memory from the `tensor_arena` for the