-
Notifications
You must be signed in to change notification settings - Fork 74k
/
BUILD
126 lines (117 loc) · 3.75 KB
/
BUILD
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
load("//tensorflow:strict.default.bzl", "py_strict_library")
load("//tensorflow:tensorflow.default.bzl", "tf_py_strict_test")
package(
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
licenses = ["notice"],
)
py_strict_library(
name = "plugin_asset",
srcs = ["plugin_asset.py"],
visibility = ["//visibility:public"],
deps = [
"//tensorflow/python/framework:ops",
],
)
py_strict_library(
name = "__init__",
srcs = ["__init__.py"],
visibility = ["//visibility:public"],
)
py_strict_library(
name = "summary_iterator",
srcs = ["summary_iterator.py"],
visibility = ["//visibility:public"],
deps = [
"//tensorflow/core:protos_all_py",
"//tensorflow/python/lib/io:lib",
"//tensorflow/python/util:tf_export",
],
)
py_strict_library(
name = "summary_py",
srcs = ["summary.py"],
visibility = ["//visibility:public"],
deps = [
"//tensorflow/core:protos_all_py",
"//tensorflow/python/distribute:summary_op_util",
"//tensorflow/python/eager:context",
"//tensorflow/python/framework:constant_op",
"//tensorflow/python/framework:dtypes",
"//tensorflow/python/framework:ops",
"//tensorflow/python/ops:array_ops",
"//tensorflow/python/ops:logging_ops_gen",
"//tensorflow/python/ops:summary_op_util",
"//tensorflow/python/ops:summary_ops_gen",
"//tensorflow/python/ops:summary_ops_v2",
"//tensorflow/python/summary/writer",
"//tensorflow/python/summary/writer:writer_cache",
"//tensorflow/python/training:training_util",
"//tensorflow/python/util:compat",
"//tensorflow/python/util:tf_export",
],
)
tf_py_strict_test(
name = "plugin_asset_test",
size = "small",
srcs = ["plugin_asset_test.py"],
python_version = "PY3",
deps = [
":plugin_asset",
"//tensorflow/python/framework:ops",
"//tensorflow/python/framework:test_lib",
"//tensorflow/python/platform:test",
],
)
tf_py_strict_test(
name = "summary_iterator_test",
size = "small",
srcs = ["summary_iterator_test.py"],
python_version = "PY3",
deps = [
":summary_iterator",
":summary_py",
"//tensorflow/core:protos_all_py",
"//tensorflow/python/framework:test_lib",
"//tensorflow/python/platform:client_testlib",
"//tensorflow/python/summary/writer",
],
)
tf_py_strict_test(
name = "summary_test",
size = "small",
srcs = ["summary_test.py"],
python_version = "PY3",
deps = [
":summary_py",
"//tensorflow/core:protos_all_py",
"//tensorflow/python/framework",
"//tensorflow/python/framework:constant_op",
"//tensorflow/python/framework:dtypes",
"//tensorflow/python/framework:errors",
"//tensorflow/python/framework:ops",
"//tensorflow/python/framework:test_lib",
"//tensorflow/python/ops:array_ops",
"//tensorflow/python/ops:summary_ops_v2",
"//tensorflow/python/ops:variables",
"//tensorflow/python/platform:client_testlib",
"//tensorflow/python/platform:test",
],
)
tf_py_strict_test(
name = "summary_v2_test",
size = "small",
srcs = ["summary_v2_test.py"],
python_version = "PY3",
deps = [
":summary_py",
"//tensorflow/python/framework:constant_op",
"//tensorflow/python/framework:dtypes",
"//tensorflow/python/framework:ops",
"//tensorflow/python/framework:test_lib",
"//tensorflow/python/ops:array_ops",
"//tensorflow/python/ops:summary_ops_v2",
"//tensorflow/python/platform:client_testlib",
"//tensorflow/python/training:training_util",
"@pypi_tensorboard//:pkg",
],
)