Karim Nosir 2a96849f47 Update source files with used includes.
PiperOrigin-RevId: 316589177
Change-Id: I0aba0ed1cf9ff478e7890fa53a7749bf844bd26d
2020-06-15 18:42:14 -07:00

55 lines
1.4 KiB
Python

load("//tensorflow/lite/micro:build_def.bzl", "cc_library")
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "hashtable_op_kernels",
srcs = [
"hashtable.cc",
"hashtable_find.cc",
"hashtable_import.cc",
"hashtable_ops.cc",
"hashtable_size.cc",
],
hdrs = [
"hashtable_ops.h",
],
deps = [
"//tensorflow/lite:framework",
"//tensorflow/lite/c:common",
"//tensorflow/lite/core/api",
"//tensorflow/lite/experimental/resource",
"//tensorflow/lite/kernels:kernel_util",
"//tensorflow/lite/kernels/internal:tensor",
"//tensorflow/lite/schema:schema_fbs",
"@flatbuffers",
],
)
cc_test(
name = "hashtable_op_test",
size = "small",
srcs = [
"hashtable_ops_test.cc",
],
deps = [
":hashtable_op_kernels", # buildcleaner: keep
"//tensorflow/lite:framework",
"//tensorflow/lite/core/api",
"//tensorflow/lite/experimental/resource",
"//tensorflow/lite/kernels:test_main",
"//tensorflow/lite/kernels:test_util",
"//tensorflow/lite/kernels/internal:tensor",
"//tensorflow/lite/testing:util",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest",
"@flatbuffers",
],
)