forked from tensorflow/tensorboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
100 lines (92 loc) · 2.45 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
# Description:
# Summary API for TensorBoard.
package(default_visibility = ["//tensorboard:internal"])
licenses(["notice"])
py_library(
name = "summary",
srcs = [
"__init__.py",
],
srcs_version = "PY3",
visibility = ["//tensorboard:internal"],
deps = [
":summary_v1",
":summary_v2",
],
)
py_library(
name = "summary_v1",
srcs = [
"v1.py",
],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//tensorboard/plugins/audio:summary",
"//tensorboard/plugins/custom_scalar:summary",
"//tensorboard/plugins/histogram:summary",
"//tensorboard/plugins/image:summary",
"//tensorboard/plugins/pr_curve:summary",
"//tensorboard/plugins/scalar:summary",
"//tensorboard/plugins/text:summary",
],
)
py_library(
name = "summary_v2",
srcs = [
"v2.py",
],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//tensorboard/plugins/audio:summary_v2",
"//tensorboard/plugins/histogram:summary_v2",
"//tensorboard/plugins/image:summary_v2",
"//tensorboard/plugins/scalar:summary_v2",
"//tensorboard/plugins/text:summary_v2",
],
)
py_test(
name = "summary_test",
size = "small",
srcs = ["summary_test.py"],
srcs_version = "PY3",
tags = ["support_notf"],
deps = [
":summary",
":summary_v1",
":summary_v2",
],
)
# This library provides a _tf.summary package with summary API symbols from
# TensorBoard, meant to be overlayed into TensorFlow's namespace as tf.summary.
#
# Due to the mechanics of the component_api_helper() insertion mechanism, this
# must be a package (not module) without any sibling-level packages, where the
# desired name at the insertion point ("summary") must be the final component
# of the real package name, which necessitates putting this under two levels
# of dedicated directories. The inner __init__.py is the real code.
py_library(
name = "tf_summary",
srcs = [
"_tf/__init__.py",
"_tf/summary/__init__.py",
],
srcs_version = "PY3",
visibility = [
"//tensorboard:internal",
],
deps = [
":summary_v2",
],
)
py_test(
name = "tf_summary_test",
size = "small",
srcs = ["tf_summary_test.py"],
srcs_version = "PY3",
deps = [
":tf_summary",
"//tensorboard:expect_tensorflow_installed",
],
)