aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/kernels/BUILD')
-rw-r--r--tensorflow/core/kernels/BUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/tensorflow/core/kernels/BUILD b/tensorflow/core/kernels/BUILD
index 1e2a33566b..48d5955ad1 100644
--- a/tensorflow/core/kernels/BUILD
+++ b/tensorflow/core/kernels/BUILD
@@ -5137,7 +5137,6 @@ tf_kernel_library(
srcs = [
"dequantize_op.cc",
"meta_support.cc",
- "quantization_utils.cc",
"quantize_down_and_shrink_range.cc",
"quantize_op.cc",
"quantized_activation_ops.cc",
@@ -5169,6 +5168,7 @@ tf_kernel_library(
":image_resizer_state",
":ops_util",
":pooling_ops",
+ ":quantization_utils",
"//tensorflow/core:array_ops_op_lib",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
@@ -5716,6 +5716,16 @@ tf_kernel_library(
)
cc_library(
+ name = "quantization_utils",
+ srcs = ["quantization_utils.cc"],
+ hdrs = ["quantization_utils.h"],
+ deps = [
+ "//tensorflow/core:framework",
+ "@gemmlowp",
+ ],
+)
+
+cc_library(
name = "remote_fused_graph_execute_utils",
srcs = [
"i_remote_fused_graph_ops_definitions.cc",
@@ -6088,7 +6098,6 @@ cc_library(
srcs = [
"cwise_ops_common.cc",
"meta_support.cc",
- "quantization_utils.cc",
],
hdrs = [
"cwise_ops.h",
@@ -6097,10 +6106,10 @@ cc_library(
"cwise_ops_gpu_gradients.cu.h",
"cwise_ops_gradients.h",
"meta_support.h",
- "quantization_utils.h",
],
deps = [
":bounds_check",
+ ":quantization_utils",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//third_party/eigen3",