Skip to content

Commit

Permalink
Fix upstream sync (again) (#2763)
Browse files Browse the repository at this point in the history
* sync from upstream with new files

* formatting
  • Loading branch information
suleshahid authored Dec 11, 2024
1 parent c9e2319 commit 39ba5a8
Show file tree
Hide file tree
Showing 15 changed files with 1,140 additions and 693 deletions.
2 changes: 2 additions & 0 deletions ci/tflite_files.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
tensorflow/compiler/mlir/lite/core/api/error_reporter.h
tensorflow/compiler/mlir/lite/core/api/error_reporter.cc
tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h
tensorflow/compiler/mlir/lite/core/c/tflite_types.h
tensorflow/compiler/mlir/lite/schema/schema.fbs
tensorflow/compiler/mlir/lite/schema/schema_utils.h
tensorflow/compiler/mlir/lite/schema/schema_utils.cc
Expand Down
32 changes: 32 additions & 0 deletions tensorflow/compiler/mlir/lite/core/c/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
load("//tensorflow/lite:build_def.bzl", "tflite_copts")

package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"],
)

exports_files(
srcs = [
"builtin_op_data.h",
"tflite_types.h",
],
visibility = [
"//tensorflow/lite:__subpackages__",
],
)

# LINT.IfChange(common)
cc_library(
name = "tflite_common",
srcs = [],
hdrs = [
"builtin_op_data.h",
"tflite_types.h",
],
copts = tflite_copts(),
visibility = ["//visibility:public"],
alwayslink = 1, # Why?? TODO(b/161243354): eliminate this.
)
# LINT.ThenChange(//tensorflow/lite/core/c:common)
Loading

0 comments on commit 39ba5a8

Please sign in to comment.