UNPKG

react-native-fast-tflite

Version:

High-performance TensorFlow Lite library for React Native

35 lines 1.01 kB
export type ConfigProps = { /** * Whether to enable the CoreML GPU acceleration delegate for iOS, or not. * @default false */ enableCoreMLDelegate?: boolean; /** * Whether to enable the GPU acceleration delegate for GPU, by including related native libraries. * You can leave it as boolean for an array of native libraries. * * If enabled, "libOpenCL.so" will always be included. * * When ran prebuild, it will yield following result. * * ```xml * <uses-native-library android:name="libOpenCL.so" android:required="false"/> * ``` * * @example * You can include more native libraries if needed. * ```json * [ * "react-native-fast-tflite", * { * "enableAndroidGpuLibraries": ["libOpenCL-pixel.so", "libGLES_mali.so"] * } * ] * ``` * * * @default false */ enableAndroidGpuLibraries?: boolean | string[]; } | void; //# sourceMappingURL=@types.d.ts.map