From a82d59ec0204ca9429356d75fc4fd9d0bfa4130f Mon Sep 17 00:00:00 2001 From: "T.J. Alumbaugh" Date: Wed, 21 Aug 2024 13:32:17 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 666010757 --- WORKSPACE | 3 --- ...tensorflow_disable_subgraph_reshaping.diff | 19 ------------------- 2 files changed, 22 deletions(-) delete mode 100644 third_party/org_tensorflow_disable_subgraph_reshaping.diff diff --git a/WORKSPACE b/WORKSPACE index 01d2c6cf49..284da91005 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -576,9 +576,6 @@ http_archive( # Works around Bazel issue with objc_library. # See https://github.com/bazelbuild/bazel/issues/19912 "@//third_party:org_tensorflow_objc_build_fixes.diff", - # Restores scores for text pipelines, which return different results - # with subgraph reshaping - "@//third_party:org_tensorflow_disable_subgraph_reshaping.diff" ], patch_args = [ "-p1", diff --git a/third_party/org_tensorflow_disable_subgraph_reshaping.diff b/third_party/org_tensorflow_disable_subgraph_reshaping.diff deleted file mode 100644 index 7461fd50eb..0000000000 --- a/third_party/org_tensorflow_disable_subgraph_reshaping.diff +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/tensorflow/lite/delegates/xnnpack/BUILD b/tensorflow/lite/delegates/xnnpack/BUILD -index c4f748280d7..e58d9b18c8c 100644 ---- a/tensorflow/lite/delegates/xnnpack/BUILD -+++ b/tensorflow/lite/delegates/xnnpack/BUILD -@@ -233,12 +233,10 @@ cc_library( - "//conditions:default": [], - }) + select({ - ":xnnpack_enable_subgraph_reshaping_explicit": ["-DXNNPACK_DELEGATE_ENABLE_SUBGRAPH_RESHAPING=1"], -- # copybara:uncomment "//conditions:default": [], -- "//conditions:default": ["-DXNNPACK_DELEGATE_ENABLE_SUBGRAPH_RESHAPING=1"], # copybara:comment -+ "//conditions:default": [], - }) + select({ - ":xnnpack_use_latest_ops_explicit": ["-DXNNPACK_DELEGATE_USE_LATEST_OPS=1"], -- # copybara:uncomment "//conditions:default": [], -- "//conditions:default": ["-DXNNPACK_DELEGATE_USE_LATEST_OPS=1"], # copybara:comment -+ "//conditions:default": [], - }) + select({ - ":xnnpack_use_transient_indirection_buffers_explicit": ["-DXNNPACK_DELEGATE_USE_TRANSIENT_INDIRECTION_BUFFERS=1"], - "//conditions:default": [],