1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
load(
"//tensorflow:tensorflow.bzl",
"tf_cc_test",
)
cc_library(
name = "cluster_utils",
srcs = [
"cluster_utils.cc",
],
hdrs = [
"cluster_utils.h",
],
deps = [
"//tensorflow/contrib/lite/toco:toco_port",
],
)
cc_library(
name = "cluster",
srcs = [
"cluster.cc",
],
hdrs = [
"cluster.h",
],
deps = [
":cluster_utils",
"//tensorflow/contrib/lite/toco:model",
"//tensorflow/contrib/lite/toco:tooling_util",
"//tensorflow/core:protos_all_cc",
],
)
cc_library(
name = "resolve_svdf",
srcs = [
"resolve_svdf.cc",
],
hdrs = [
"resolve_svdf.h",
],
visibility = ["//visibility:public"],
deps = [
":cluster",
":cluster_utils",
"//tensorflow/contrib/lite/toco:model",
"//tensorflow/contrib/lite/toco:toco_port",
"//tensorflow/contrib/lite/toco:tooling_util",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"@protobuf_archive//:protobuf_headers",
],
)
tf_cc_test(
name = "resolve_svdf_test",
srcs = ["resolve_svdf_test.cc"],
deps = [
":cluster",
":cluster_utils",
":resolve_cluster",
":resolve_svdf",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"@com_google_googletest//:gtest_main",
],
)
cc_library(
name = "resolve_cluster",
srcs = [
"resolve_cluster.cc",
],
hdrs = [
"resolve_cluster.h",
],
visibility = ["//visibility:public"],
deps = [
":cluster",
":cluster_utils",
":resolve_svdf",
"//tensorflow/contrib/lite/toco:tooling_util",
"//tensorflow/core:protos_all_cc",
],
)
|