STT-tensorflow/tensorflow/lite/experimental/ios
YoungSeok Yoon 772433a2a2 Add flag for using optimized TFLite CPU kernels on iOS
This adds new experimental flags to the interpreter options of TFLite Obj-C and
Swift APIs, which can be used for opting in to a set of highly optimized
floating point kernels provided via the XNNPACK delegate. The flags can be used
as follows.

Obj-C:

    TFLInterpreterOptions *options = [[TFLInterpreterOptions alloc] init];
    options.useXNNPACK = YES;
    NSError *error;
    TFLInterpreter *interpreter =
        [[TFLInterpreter alloc] initWithModelPath:@"model/path"
                                          options:options
                                            error:&error];

Swift:

    var options = InterpreterOptions()
    options.isXNNPackEnabled = true
    var interpreter = try Interpreter(modelPath: "model/path", options: options)

PiperOrigin-RevId: 317270012
Change-Id: I82aae43c3de13ab08af3c70513e2a458e807b0f1
2020-06-19 02:03:48 -07:00
..
BUILD.apple Add flag for using optimized TFLite CPU kernels on iOS 2020-06-19 02:03:48 -07:00
hide_symbols_with_whitelist.sh Add tflite_ios_static_framework rule for hiding symbols 2020-06-17 02:59:40 -07:00
ios.bzl Add tflite_ios_static_framework rule for hiding symbols 2020-06-17 02:59:40 -07:00
TensorFlowLiteC.md Updates TensorFlow Lite iOS CocoaPods for 0.2.0 experimental release. 2019-05-02 17:45:54 -07:00
TensorFlowLiteC.podspec Podspec updates for TFLite v2.2.0 2020-05-06 21:50:18 -07:00
TensorFlowLiteC.podspec.template Separate metal delegate to a subspec Cocoapods 2020-05-25 23:00:07 -07:00
TensorFlowLiteSelectTfOps.md Make the TFLite with select TF ops for iOS composable 2019-12-02 20:47:52 -08:00
TensorFlowLiteSelectTfOps.podspec Podspec updates for TFLite v2.2.0 2020-05-06 21:50:18 -07:00
TensorFlowLiteSelectTfOps.podspec.template Add CoreML as a weak_framework in TensorFlowLiteC podspec 2020-04-02 03:15:36 -07:00
whitelist_TensorFlowLiteC.txt Add tflite_ios_static_framework rule for hiding symbols 2020-06-17 02:59:40 -07:00
whitelist_TensorFlowLiteCCoreML.txt Add tflite_ios_static_framework rule for hiding symbols 2020-06-17 02:59:40 -07:00
whitelist_TensorFlowLiteCMetal.txt Add tflite_ios_static_framework rule for hiding symbols 2020-06-17 02:59:40 -07:00