Skip to content

Commit

Permalink
[tensorflow-lite] fox sources for latest abseil
Browse files Browse the repository at this point in the history
  • Loading branch information
luncliff committed Apr 3, 2024
1 parent b658488 commit 23ba9a4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions ports/tensorflow-lite/fix-source-abseil.patch
Original file line number Diff line number Diff line change
Expand Up @@ -677,3 +677,39 @@ index 170e5e39..1a8a4126 100644
auto weights = attr.weights.shape;

std::vector<Variable> parameters = {
diff --git a/tensorflow/lite/delegates/gpu/cl/cl_operation.h b/tensorflow/lite/delegates/gpu/cl/cl_operation.h
index 11795234..09154de2 100644
--- a/tensorflow/lite/delegates/gpu/cl/cl_operation.h
+++ b/tensorflow/lite/delegates/gpu/cl/cl_operation.h
@@ -22,6 +22,7 @@ limitations under the License.
#include <utility>
#include <vector>

+#include "absl/strings/str_cat.h"
#include "tensorflow/lite/delegates/gpu/cl/cl_arguments.h"
#include "tensorflow/lite/delegates/gpu/cl/cl_command_queue.h"
#include "tensorflow/lite/delegates/gpu/cl/cl_context.h"
diff --git a/tensorflow/lite/delegates/gpu/common/task/qcom_thin_filter_desc.cc b/tensorflow/lite/delegates/gpu/common/task/qcom_thin_filter_desc.cc
index 03909221..ffcf1fb2 100644
--- a/tensorflow/lite/delegates/gpu/common/task/qcom_thin_filter_desc.cc
+++ b/tensorflow/lite/delegates/gpu/common/task/qcom_thin_filter_desc.cc
@@ -18,6 +18,7 @@ limitations under the License.
#include <string>
#include <vector>

+#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"

namespace tflite {
diff --git a/tensorflow/lite/delegates/gpu/common/tasks/special/thin_pointwise_fuser.cc b/tensorflow/lite/delegates/gpu/common/tasks/special/thin_pointwise_fuser.cc
index 03fd1292..923aaf53 100644
--- a/tensorflow/lite/delegates/gpu/common/tasks/special/thin_pointwise_fuser.cc
+++ b/tensorflow/lite/delegates/gpu/common/tasks/special/thin_pointwise_fuser.cc
@@ -24,6 +24,7 @@ limitations under the License.
#include <utility>
#include <vector>

+#include "absl/strings/str_cat.h"
#include "absl/strings/str_replace.h"
#include "tensorflow/lite/delegates/gpu/common/flops_util.h"
#include "tensorflow/lite/delegates/gpu/common/model.h"
2 changes: 1 addition & 1 deletion versions/t-/tensorflow-lite.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "9ef4276ede3ab4bffc74ed9cc1b68012f1b80406",
"git-tree": "ea3003edecdef9ee58d2e77faa58588cdfc656f1",
"version-semver": "2.15.1",
"port-version": 0
},
Expand Down

0 comments on commit 23ba9a4

Please sign in to comment.