Fix the TFLite iOS demo apps.
authorYu-Cheng Ling <ycling@google.com>
Fri, 18 May 2018 18:46:06 +0000 (11:46 -0700)
committerYu-Cheng Ling <ycling@google.com>
Fri, 18 May 2018 18:47:45 +0000 (11:47 -0700)
This partially reverted 2bf2308872a6dfa8d6d0809acf0098f666e00fe8.
The demo apps in `lite/examples` depends on CocoaPod, not the Github
head code.

tensorflow/contrib/lite/examples/ios/camera/CameraExampleViewController.mm
tensorflow/contrib/lite/examples/ios/simple/RunModelViewController.mm

index 59b575a..d74e275 100644 (file)
@@ -25,8 +25,8 @@
 
 #include "tensorflow/contrib/lite/kernels/register.h"
 #include "tensorflow/contrib/lite/model.h"
-#include "tensorflow/contrib/lite/op_resolver.h"
 #include "tensorflow/contrib/lite/string_util.h"
+#include "tensorflow/contrib/lite/tools/mutable_op_resolver.h"
 
 #define LOG(x) std::cerr
 
index 32da7f7..0ab7aa2 100644 (file)
@@ -24,8 +24,8 @@
 
 #include "tensorflow/contrib/lite/kernels/register.h"
 #include "tensorflow/contrib/lite/model.h"
-#include "tensorflow/contrib/lite/op_resolver.h"
 #include "tensorflow/contrib/lite/string_util.h"
+#include "tensorflow/contrib/lite/tools/mutable_op_resolver.h"
 
 #include "ios_image_load.h"