STT-tensorflow/tensorflow/lite/experimental/objc/apis
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
..
framework.modulemap
TFLInterpreter.h minor spelling tweaks 2020-03-11 02:31:27 +09:00
TFLInterpreterOptions.h Add flag for using optimized TFLite CPU kernels on iOS 2020-06-19 02:03:48 -07:00
TFLQuantizationParameters.h
TFLTensor.h Add float64 tensor support in TFLite 2020-04-03 23:20:03 -07:00
TFLTensorFlowLite.h Adds the TFLite version string to the ObjC library. 2019-05-16 17:19:33 -07:00