Home
last modified time | relevance | path

Searched refs:interpreter (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/samples/modules/tflite-micro/tflm_ethosu/src/
Dinference_process.cpp124 tflite::MicroInterpreter interpreter(model, resolver, tensorArena, tensorArenaSize); in runJob() local
127 TfLiteStatus allocate_status = interpreter.AllocateTensors(); in runJob()
133 if (job.input.size() != interpreter.inputs_size()) { in runJob()
135 job.input.size(), interpreter.inputs_size()); in runJob()
140 for (size_t i = 0; i < interpreter.inputs_size(); ++i) { in runJob()
142 const TfLiteTensor *tensor = interpreter.input(i); in runJob()
155 TfLiteStatus invoke_status = interpreter.Invoke(); in runJob()
163 if (interpreter.outputs_size() != job.output.size()) { in runJob()
165 job.output.size(), interpreter.outputs_size()); in runJob()
169 for (unsigned i = 0; i < interpreter.outputs_size(); ++i) { in runJob()
[all …]
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/hello_world/src/
Dmain_functions.cpp31 tflite::MicroInterpreter *interpreter = nullptr; variable
63 interpreter = &static_interpreter; in setup()
66 TfLiteStatus allocate_status = interpreter->AllocateTensors(); in setup()
73 input = interpreter->input(0); in setup()
74 output = interpreter->output(0); in setup()
98 TfLiteStatus invoke_status = interpreter->Invoke(); in loop()
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/src/
Dmain_functions.cpp32 tflite::MicroInterpreter *interpreter = nullptr; variable
74 interpreter = &static_interpreter; in setup()
77 interpreter->AllocateTensors(); in setup()
80 model_input = interpreter->input(0); in setup()
109 TfLiteStatus invoke_status = interpreter->Invoke(); in loop()
115 int gesture_index = PredictGesture(interpreter->output(0)->data.f); in loop()
/Zephyr-Core-3.5.0/cmake/modules/
Dwest.cmake8 # Python interpreter as everything else, though, so we play some extra
11 # When west runs cmake, it sets WEST_PYTHON to its interpreter. If
/Zephyr-Core-3.5.0/modules/openthread/
DCMakeLists.txt11 set(OT_CLI_TRANSPORT "CONSOLE" CACHE STRING "Set CLI to use console interpreter")
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb3058 " # Initialize the TFLite interpreter\n",
3059 " interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
3060 " interpreter.allocate_tensors()\n",
3062 " input_details = interpreter.get_input_details()[0]\n",
3063 " output_details = interpreter.get_output_details()[0]\n",
3071 " # Invoke the interpreter\n",
3074 " interpreter.set_tensor(input_details[\"index\"], [x_test_[i]])\n",
3075 " interpreter.invoke()\n",
3076 " y_pred[i] = interpreter.get_tensor(output_details[\"index\"])[0]\n",
/Zephyr-Core-3.5.0/doc/develop/west/
Drelease-notes.rst487 interpreter without modifying the :envvar:`PATH` environment variable.
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.3.rst1000 * :github:`24340` - #24308 Broke python3 interpreter selection