mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-03 02:37:36 +00:00
- Upgraded the Bazel BuildTool to the latest version (8.2.1). - Updated the `tflm-ci` Docker image and pushed the new tag (0.6.1) to the `ghcr.io/tflm-bot/tflm-ci registry`. - Updated the WORKSPACE to load `rules_cc` and `rules_shell` explicitly - Ran `buildifier` to ensure all BUILD files to have all the fixes. BUG=Clean-up
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
|
load("//tensorflow/lite:build_def.bzl", "tflite_copts")
|
|
load(
|
|
"//tensorflow/lite/micro:build_def.bzl",
|
|
"tflm_cc_library",
|
|
"tflm_copts",
|
|
)
|
|
|
|
package(
|
|
default_visibility = [
|
|
"//visibility:public",
|
|
],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "op_macros",
|
|
hdrs = [
|
|
"op_macros.h",
|
|
],
|
|
copts = tflite_copts(),
|
|
deps = ["//tensorflow/lite/micro:micro_log"],
|
|
)
|
|
|
|
tflm_cc_library(
|
|
name = "kernel_util",
|
|
srcs = [
|
|
"kernel_util.cc",
|
|
],
|
|
hdrs = [
|
|
"kernel_util.h",
|
|
],
|
|
copts = tflm_copts() + tflite_copts(),
|
|
deps = [
|
|
"//tensorflow/lite:array",
|
|
"//tensorflow/lite:kernel_api",
|
|
"//tensorflow/lite/c:common",
|
|
"//tensorflow/lite/kernels/internal:cppmath",
|
|
"//tensorflow/lite/kernels/internal:quantization_util",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "padding",
|
|
srcs = [],
|
|
hdrs = ["padding.h"],
|
|
copts = tflite_copts(),
|
|
deps = [
|
|
"//tensorflow/lite/c:common",
|
|
"//tensorflow/lite/kernels/internal:types",
|
|
],
|
|
)
|