STT-tensorflow/tensorflow/python/tpu/client/BUILD
Kibeom Kim 0c67638ac2 Remove deprecated tfrt_enabled test target flag.
PiperOrigin-RevId: 338530097
Change-Id: I0bd2ad366210330ece06f99a4fdb16de395ece05
2020-10-22 12:55:06 -07:00

55 lines
1.0 KiB
Python

# Cloud TPU Client.
load("//tensorflow:tensorflow.bzl", "tf_py_test")
package(
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"], # Apache 2.0
)
py_library(
name = "client",
srcs = [
"client.py",
"version.py",
],
srcs_version = "PY2AND3",
deps = [
"@six_archive//:six",
],
)
py_library(
name = "client_lib",
srcs = [
"__init__.py",
],
srcs_version = "PY2AND3",
deps = [
":client",
"@six_archive//:six",
],
)
tf_py_test(
name = "client_py_test",
size = "small",
srcs = ["client_test.py"],
grpc_enabled = True,
main = "client_test.py",
python_version = "PY3",
tags = [
"no_oss_py2",
],
deps = [
":client",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
"//tensorflow/python:training_server_lib",
],
)