Skip to content

Commit a4b2a20

Browse files
authored
mesh: explictly define public API, for consistency (#2208)
Summary: Amends #2205 to be consistent with other plugins. Test Plan: Pip package smoke test still passes. wchargin-branch: mesh-library-target
1 parent d32eaf8 commit a4b2a20

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

tensorboard/pip_package/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sh_binary(
2222
"//tensorboard:version", # Version module (read by setup.py)
2323
"//tensorboard/plugins/beholder", # User-facing beholder API
2424
"//tensorboard/plugins/hparams", # User-facing hparams API
25-
"//tensorboard/plugins/mesh:summary", # User-facing mesh summary API
25+
"//tensorboard/plugins/mesh", # User-facing mesh API
2626
"//tensorboard/plugins/projector", # User-facing projector API
2727
"//tensorboard/summary:tf_summary", # tf.summary API for TF 2.0
2828
],

tensorboard/plugins/mesh/BUILD

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ exports_files(["LICENSE"])
55

66
load("//tensorboard/defs:protos.bzl", "tb_proto_library")
77

8+
# Public-facing API, included in Pip package.
9+
py_library(
10+
name = "mesh",
11+
srcs = ["__init__.py"],
12+
srcs_version = "PY2AND3",
13+
visibility = ["//visibility:public"],
14+
deps = [
15+
":summary",
16+
],
17+
)
18+
819
py_library(
920
name = "metadata",
1021
srcs = ["metadata.py"],

0 commit comments

Comments
 (0)