Skip to content

Commit 39ba5a8

Browse files
authored
Fix upstream sync (again) (#2763)
* sync from upstream with new files * formatting
1 parent c9e2319 commit 39ba5a8

15 files changed

+1140
-693
lines changed

ci/tflite_files.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
tensorflow/compiler/mlir/lite/core/api/error_reporter.h
22
tensorflow/compiler/mlir/lite/core/api/error_reporter.cc
3+
tensorflow/compiler/mlir/lite/core/c/builtin_op_data.h
4+
tensorflow/compiler/mlir/lite/core/c/tflite_types.h
35
tensorflow/compiler/mlir/lite/schema/schema.fbs
46
tensorflow/compiler/mlir/lite/schema/schema_utils.h
57
tensorflow/compiler/mlir/lite/schema/schema_utils.cc
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
2+
3+
package(
4+
default_visibility = [
5+
"//visibility:public",
6+
],
7+
licenses = ["notice"],
8+
)
9+
10+
exports_files(
11+
srcs = [
12+
"builtin_op_data.h",
13+
"tflite_types.h",
14+
],
15+
visibility = [
16+
"//tensorflow/lite:__subpackages__",
17+
],
18+
)
19+
20+
# LINT.IfChange(common)
21+
cc_library(
22+
name = "tflite_common",
23+
srcs = [],
24+
hdrs = [
25+
"builtin_op_data.h",
26+
"tflite_types.h",
27+
],
28+
copts = tflite_copts(),
29+
visibility = ["//visibility:public"],
30+
alwayslink = 1, # Why?? TODO(b/161243354): eliminate this.
31+
)
32+
# LINT.ThenChange(//tensorflow/lite/core/c:common)

0 commit comments

Comments
 (0)