A. Unique TensorFlower 034633f23b PY2 removal cleanup
PiperOrigin-RevId: 352106691
Change-Id: I382d53c64f0d29da430b8cb6d2395a2cb281509e
2021-01-15 16:48:57 -08:00

25 lines
619 B
Python

# Description:
# Python APIs for various Tensorflow backends.
load("//tensorflow:tensorflow.bzl", "if_windows")
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])
py_library(
name = "compiler",
srcs = ["__init__.py"],
srcs_version = "PY3",
deps = if_windows(
["//tensorflow/python/compiler/tensorrt:trt_convert_windows"],
otherwise = ["//tensorflow/python/compiler/tensorrt:init_py"],
) + [
"//tensorflow/python/compiler/mlir",
"//tensorflow/python/compiler/xla:compiler_py",
],
)