When I tried to run the sample using the GPU-supported version of TensorFlow Lite, I encountered an exception on line 419 of tensorflow/lite/examples/ios/camera/CameraExampleViewController.mm. The exceptions that occurred are as follows "Unknown type name 'TFLGpuDelegateOptions'; did you mean 'GpuDelegateOptions'?" Using GpuDelegateOptions seemed to be the right thing to do, so I modified the code to use this one. Official tutorial: https://www.tensorflow.org/lite/performance/gpu#ios_with_xcode
Using the iOS Demo App
Please read the TensorFlow Lite iOS Demo App page.
Using the iOS Demo App with support for select TensorFlow ops
TODO(ycling): Link to the select TensorFlow ops documentation when it's done.
Follow the guide to TensorFlow Lite iOS Library with support for select
TensorFlow ops, then open tflite_camera_example_with_flex.xcodeproj.
Note that this project setting is not using CocoaPod.