Files
wehub-resource-sync 8a852e4b4e
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s
chore: import upstream snapshot with attribution
2026-07-13 12:14:16 +08:00

45 lines
921 B
Python

# Cloud TPU Client.
load("@xla//third_party/rules_python/python:py_library.bzl", "py_library")
load("//tensorflow:tensorflow.default.bzl", "tf_py_strict_test")
package(
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
default_visibility = [
"//tensorflow:internal",
],
licenses = ["notice"],
)
py_library(
name = "client",
srcs = [
"client.py",
"version.py",
],
strict_deps = True,
deps = ["@absl_py//absl/flags"],
)
py_library(
name = "client_lib",
srcs = [
"__init__.py",
],
strict_deps = True,
deps = [":client"],
)
tf_py_strict_test(
name = "client_py_test",
size = "small",
srcs = ["client_test.py"],
grpc_enabled = True,
main = "client_test.py",
deps = [
":client",
"//tensorflow/python/platform:client_testlib",
"@absl_py//absl/flags",
],
)