Skip to content

Commit

Permalink
Merge pull request #235 from asus4/ios-metal-delegate
Browse files Browse the repository at this point in the history
Fix iOS Metal Delegate
  • Loading branch information
asus4 authored Jun 28, 2022
2 parents c28c8d6 + a7fdae8 commit 067d49e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Git LFS file not shown
2 changes: 1 addition & 1 deletion build_tflite.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def build_ios():
run_cmd('bazel build -c opt --config=ios_fat //tensorflow/lite/ios:TensorFlowLiteC_framework')
unzip('bazel-bin/tensorflow/lite/ios/TensorFlowLiteC_framework.zip', 'iOS')
# Metal Delegate
run_cmd('bazel build -c opt --config=ios_fat --cxxopt=--std=c++17 //tensorflow/lite/ios:TensorFlowLiteCMetal_framework')
run_cmd('bazel build -c opt --config=ios_fat //tensorflow/lite/ios:TensorFlowLiteCMetal_framework')
unzip('bazel-bin/tensorflow/lite/ios/TensorFlowLiteCMetal_framework.zip', 'iOS')
# CoreML Delegate
# run_cmd('bazel build -c opt --config=ios_fat //tensorflow/lite/ios:TensorFlowLiteCCoreML_framework')
Expand Down

0 comments on commit 067d49e

Please sign in to comment.