1# Description: 2# Python APIs for various Tensorflow backends. 3 4load("//tensorflow:tensorflow.bzl", "if_windows") 5 6package( 7 default_visibility = ["//visibility:public"], 8 licenses = ["notice"], # Apache 2.0 9) 10 11exports_files(["LICENSE"]) 12 13py_library( 14 name = "compiler", 15 srcs = ["__init__.py"], 16 srcs_version = "PY3", 17 deps = if_windows( 18 ["//tensorflow/python/compiler/tensorrt:trt_convert_windows"], 19 otherwise = ["//tensorflow/python/compiler/tensorrt:init_py"], 20 ) + [ 21 "//tensorflow/python/compiler/mlir", 22 "//tensorflow/python/compiler/xla:compiler_py", 23 ], 24) 25