Skip to content

Commit 093eccb

Browse files
authored
Merge pull request #29 from sandeepmistry/tflm-lib-update-fixes
Update object_color_classify.ino sketch for new TFLM lib version
2 parents 32c483a + e1a248a commit 093eccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FruitToEmoji/sketches/object_color_classify/object_color_classify.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
// Arduino_TensorFlowLite - Version: 0.alpha.precompiled
2121
#include <TensorFlowLite.h>
2222

23-
#include <tensorflow/lite/experimental/micro/kernels/all_ops_resolver.h>
24-
#include <tensorflow/lite/experimental/micro/micro_error_reporter.h>
25-
#include <tensorflow/lite/experimental/micro/micro_interpreter.h>
23+
#include <tensorflow/lite/micro/all_ops_resolver.h>
24+
#include <tensorflow/lite/micro/micro_error_reporter.h>
25+
#include <tensorflow/lite/micro/micro_interpreter.h>
2626
#include <tensorflow/lite/schema/schema_generated.h>
2727
#include <tensorflow/lite/version.h>
2828
#include <Arduino_APDS9960.h>
@@ -34,7 +34,7 @@ tflite::MicroErrorReporter tflErrorReporter;
3434
// pull in all the TFLM ops, you can remove this line and
3535
// only pull in the TFLM ops you need, if would like to reduce
3636
// the compiled size of the sketch.
37-
tflite::ops::micro::AllOpsResolver tflOpsResolver;
37+
tflite::AllOpsResolver tflOpsResolver;
3838

3939
const tflite::Model* tflModel = nullptr;
4040
tflite::MicroInterpreter* tflInterpreter = nullptr;

0 commit comments

Comments
 (0)