Add public visibility to target as nightly build is broken otherwise

```
ERROR: /src/tensorflow/compiler/xla/experimental/xla_sharding/BUILD:9:11: in py_library rule //tensorflow/compiler/xla/experimental/xla_sharding:xla_sharding: target '//tensorflow/compiler/xla/python_api:types' is not visible from target '//tensorflow/compiler/xla/experimental/xla_sharding:xla_sharding'. Check the visibility declaration of the former target if you think the dependency is legitimate
```
PiperOrigin-RevId: 361051834
Change-Id: If56d6d276a106ea4d97d948fe617b166f591a7d4
This commit is contained in:
Mihai Maruseac 2021-03-04 18:53:37 -08:00 committed by TensorFlower Gardener
parent 3b393035b6
commit 0911cc1470

View File

@ -10,6 +10,7 @@ py_library(
name = "types",
srcs = ["types.py"],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//tensorflow/compiler/xla:xla_data_proto_py",
"//tensorflow/python:dtypes",