Skip to content

Commit

Permalink
feat: Upgrade CoreML delegate to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Dec 21, 2023
1 parent 7f241b0 commit 4b25dc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Binary file modified ios/TensorFlowLiteC.framework/TensorFlowLiteC
Binary file not shown.
9 changes: 5 additions & 4 deletions ios/TensorFlowLiteCCoreML.framework/Headers/coreml_delegate.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
#endif // __cplusplus
typedef enum {
// Create Core ML delegate only on devices with Apple Neural Engine.
// Returns nullptr otherwise.
Expand Down Expand Up @@ -57,15 +57,16 @@ typedef struct {

// Return a delegate that uses CoreML for ops execution.
// Must outlive the interpreter.
TfLiteDelegate* TfLiteCoreMlDelegateCreate(const TfLiteCoreMlDelegateOptions* options);
TfLiteDelegate* TfLiteCoreMlDelegateCreate(
const TfLiteCoreMlDelegateOptions* options);

// Do any needed cleanup and delete 'delegate'.
void TfLiteCoreMlDelegateDelete(TfLiteDelegate* delegate);

#ifdef __cplusplus
}
#endif // __cplusplus
#endif // __cplusplus

// LINT.ThenChange(README.md)

#endif // TENSORFLOW_LITE_DELEGATES_COREML_COREML_DELEGATE_H_
#endif // TENSORFLOW_LITE_DELEGATES_COREML_COREML_DELEGATE_H_
Binary file modified ios/TensorFlowLiteCCoreML.framework/TensorFlowLiteCCoreML
Binary file not shown.

0 comments on commit 4b25dc0

Please sign in to comment.