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
|
# OpKernels for data factorization and clustering.
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
package(default_visibility = ["//tensorflow:__subpackages__"])
cc_library(
name = "all_kernels",
deps = [
":clustering_ops",
":masked_matmul_ops",
":wals_solver_ops",
"@protobuf//:protobuf_headers",
],
)
cc_library(
name = "wals_solver_ops",
srcs = ["wals_solver_ops.cc"],
deps = [
"//tensorflow/core:framework_headers_lib",
"//third_party/eigen3",
"@protobuf//:protobuf_headers",
],
alwayslink = 1,
)
cc_library(
name = "clustering_ops",
srcs = ["clustering_ops.cc"],
deps = [
"//tensorflow/core:framework_headers_lib",
"//third_party/eigen3",
"@protobuf//:protobuf_headers",
],
alwayslink = 1,
)
cc_library(
name = "masked_matmul_ops",
srcs = ["masked_matmul_ops.cc"],
deps = [
"//tensorflow/core:framework_headers_lib",
"//tensorflow/core/kernels:bounds_check",
"//third_party/eigen3",
"@protobuf//:protobuf_headers",
],
alwayslink = 1,
)
cc_test(
name = "clustering_ops_test",
size = "small",
srcs = ["clustering_ops_test.cc"],
deps = [
":clustering_ops",
"//tensorflow/contrib/factorization:clustering_ops_op_lib",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
],
)
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
)
|