STT-tensorflow/tensorflow/tools/optimization/BUILD
Adrian Kuegel 35f8f8abab Let cc_proto_library create proto libraries with _protogen instead of _cc_protogen suffix.
This is motivated by making this more similar to the internal build system.

PiperOrigin-RevId: 278584449
Change-Id: I0545dbb8c0b03af44eac7dc0f90acba8eb036710
2019-11-05 03:09:35 -08:00

52 lines
1.4 KiB
Python

# Description:
# Utilities that perform useful transformations on graphs
load(
"//tensorflow:tensorflow.bzl",
"tf_cc_binary",
"tf_cuda_library",
)
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])
tf_cuda_library(
name = "optimization_pass_runner_lib",
srcs = ["optimization_pass_runner.cc"],
hdrs = ["optimization_pass_runner.h"],
deps = [
"//tensorflow/core:core_cpu",
"//tensorflow/core:core_cpu_base",
"//tensorflow/core:framework",
"//tensorflow/core:framework_internal",
"//tensorflow/core:framework_lite",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all",
"//tensorflow/core:tensorflow",
],
)
tf_cc_binary(
name = "gpu_optimization_pass_runner",
srcs = ["gpu_optimization_pass_runner_main.cc"],
deps = [
":optimization_pass_runner_lib",
"//tensorflow/compiler/jit:xla_cpu_jit",
"//tensorflow/compiler/jit:xla_gpu_jit",
"//tensorflow/compiler/tf2xla:xla_compiler",
"//tensorflow/core:core_cpu",
"//tensorflow/core:core_cpu_base",
"//tensorflow/core:framework",
"//tensorflow/core:framework_internal",
"//tensorflow/core:framework_lite",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all",
"//tensorflow/core:tensorflow",
"@com_google_absl//absl/strings",
],
)