-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from shiguredo/feature/update-lyra-1.3.2
Lyra のバージョンを 1.3.2 に上げる
- Loading branch information
Showing
9 changed files
with
144 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff --git a/BUILD.bazel b/BUILD.bazel | ||
index 4ac8f10..eb5f21e 100644 | ||
--- a/BUILD.bazel | ||
+++ b/BUILD.bazel | ||
@@ -257,7 +257,7 @@ config_setting( | ||
config_setting( | ||
name = "android_armv7", | ||
values = { | ||
- "crosstool_top": "//external:android/crosstool", | ||
+ "crosstool_top": "@android_toolchain//:toolchain", | ||
"cpu": "armeabi-v7a", | ||
}, | ||
visibility = ["//visibility:public"], | ||
@@ -266,7 +266,7 @@ config_setting( | ||
config_setting( | ||
name = "android_arm64", | ||
values = { | ||
- "crosstool_top": "//external:android/crosstool", | ||
+ "crosstool_top": "@android_toolchain//:toolchain", | ||
"cpu": "arm64-v8a", | ||
}, | ||
visibility = ["//visibility:public"], | ||
@@ -275,7 +275,7 @@ config_setting( | ||
config_setting( | ||
name = "android_x86", | ||
values = { | ||
- "crosstool_top": "//external:android/crosstool", | ||
+ "crosstool_top": "@android_toolchain//:toolchain", | ||
"cpu": "x86", | ||
}, | ||
visibility = ["//visibility:public"], | ||
@@ -284,7 +284,7 @@ config_setting( | ||
config_setting( | ||
name = "android_x86_64", | ||
values = { | ||
- "crosstool_top": "//external:android/crosstool", | ||
+ "crosstool_top": "@android_toolchain//:toolchain", | ||
"cpu": "x86_64", | ||
}, | ||
visibility = ["//visibility:public"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# WebRTC が lite しか利用していないので、それに合わせて lyra_config.proto も lite モードにする | ||
diff --git a/lyra_config.proto b/lyra_config.proto | ||
diff --git a/lyra/lyra_config.proto b/lyra/lyra_config.proto | ||
index 86ffe2f..ff6ac42 100644 | ||
--- a/lyra_config.proto | ||
+++ b/lyra_config.proto | ||
--- a/lyra/lyra_config.proto | ||
+++ b/lyra/lyra_config.proto | ||
@@ -14,6 +14,8 @@ | ||
|
||
syntax = "proto2"; | ||
|
||
+option optimize_for = LITE_RUNTIME; | ||
+ | ||
package third_party.lyra_codec; | ||
package third_party.lyra_codec.lyra; | ||
|
||
// Main message to check version, including weights and bitstream, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
diff --git a/tensorflow/lite/build_def.bzl b/tensorflow/lite/build_def.bzl | ||
index 43015747773..d361e6f6c47 100644 | ||
index b9bf02b373d..ea6c67362dc 100644 | ||
--- a/tensorflow/lite/build_def.bzl | ||
+++ b/tensorflow/lite/build_def.bzl | ||
@@ -42,7 +42,7 @@ def tflite_copts(): | ||
@@ -46,7 +46,7 @@ def tflite_copts(): | ||
}) + select({ | ||
clean_dep("//tensorflow:windows"): [], | ||
"//conditions:default": [ | ||
- "-fno-exceptions", # Exceptions are unused in TFLite. | ||
+ # "-fno-exceptions", # Exceptions are unused in TFLite. | ||
], | ||
}) | ||
|
||
}) + select({ | ||
clean_dep("//tensorflow/lite:tflite_with_xnnpack_explicit_false"): ["-DTFLITE_WITHOUT_XNNPACK"], |