Move bfloat16 header to tensorflow/core/platform.

PiperOrigin-RevId: 326719878
Change-Id: Iecfa85626e8611b5fe521efdb47047904b970f7a
This commit is contained in:
A. Unique TensorFlower 2020-08-14 13:32:24 -07:00 committed by TensorFlower Gardener
parent 30f38ef537
commit 576d1d395d
36 changed files with 98 additions and 71 deletions

View File

@ -28,7 +28,7 @@ limitations under the License.
#include "tensorflow/core/framework/tensor.h"
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/platform/types.h"

View File

@ -20,8 +20,8 @@ limitations under the License.
#include "tensorflow/core/framework/selective_registration.h"
#include "tensorflow/core/framework/summary.pb.h"
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/histogram/histogram.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/protobuf.h"

View File

@ -25,7 +25,7 @@ limitations under the License.
#include "tensorflow/core/framework/selective_registration.h"
#include "tensorflow/core/framework/summary.pb.h"
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/protobuf.h"

View File

@ -36,8 +36,8 @@ limitations under the License.
#include "tensorflow/core/framework/tensor.pb.h"
#include "tensorflow/core/framework/tensor_shape.pb.h"
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/errors.h"
#include "tensorflow/core/platform/protobuf.h"
#include "tensorflow/core/platform/tstring.h"

View File

@ -69,7 +69,7 @@ cc_library(
"//tensorflow/compiler/xla/client/lib:conv_grad_size_util",
"//tensorflow/core:framework",
"//tensorflow/core/kernels:conv_grad_shape_utils",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/platform:bfloat16",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:Analysis",
"@llvm-project//mlir:Dialect",

View File

@ -22,7 +22,7 @@ limitations under the License.
#include "mlir/IR/StandardTypes.h" // from @llvm-project
#include "mlir/IR/TypeUtilities.h" // from @llvm-project
#include "tensorflow/compiler/xla/literal.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/logging.h"
namespace xla {

View File

@ -57,7 +57,7 @@ limitations under the License.
#include "tensorflow/compiler/xla/xla_data.pb.h"
#include "tensorflow/core/framework/kernel_shape_util.h"
#include "tensorflow/core/kernels/conv_grad_shape_utils.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/util/padding.h"
#include "tensorflow/core/util/tensor_format.h"

View File

@ -63,9 +63,9 @@ limitations under the License.
#include "tensorflow/core/framework/tensor_testutil.h"
#include "tensorflow/core/framework/types.pb.h"
#include "tensorflow/core/graph/graph.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/test.h"
#include "tensorflow/core/public/session.h"
#include "tensorflow/core/public/session_options.h"

View File

@ -29,7 +29,7 @@ limitations under the License.
#include "absl/base/casts.h"
#include "third_party/eigen3/Eigen/Core"
#include "tensorflow/compiler/xla/types.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/types.h"
namespace xla {

View File

@ -25,7 +25,7 @@ limitations under the License.
#include "tensorflow/compiler/xla/types.h"
#include "tensorflow/compiler/xla/util.h"
#include "tensorflow/compiler/xla/xla_data.pb.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
namespace xla {

View File

@ -155,7 +155,7 @@ cc_library(
"//tensorflow/compiler/xla:statusor",
"//tensorflow/compiler/xla:types",
"//tensorflow/compiler/xla:util",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/platform:bfloat16",
"//tensorflow/core/platform:logging",
"//third_party/py/numpy:headers",
"//third_party/python_runtime:headers", # buildcleaner: keep

View File

@ -27,7 +27,7 @@ limitations under the License.
#include "absl/strings/str_cat.h"
#include "tensorflow/compiler/xla/types.h"
#include "tensorflow/compiler/xla/util.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/logging.h"
namespace xla {

View File

@ -31,10 +31,10 @@ limitations under the License.
#include "absl/strings/str_split.h"
#include "absl/types/optional.h"
#include "tensorflow/compiler/xla/types.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/math/math_util.h"
#include "tensorflow/core/lib/strings/numbers.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/platform/mutex.h"
#include "tensorflow/core/platform/numbers.h"

View File

@ -318,7 +318,6 @@ alias(
cc_library(
name = "lib_proto_parsing",
hdrs = [
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/lib/core:legacy_lib_proto_parsing_headers",
"//tensorflow/core/lib/strings:legacy_lib_proto_parsing_headers",
"//tensorflow/core/platform:lib_proto_parsing_hdrs",
@ -328,7 +327,6 @@ cc_library(
":platform_base",
"@com_google_absl//absl/strings",
"@double_conversion//:double-conversion",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/lib/core:errors",
"//tensorflow/core/lib/core:stringpiece",
"//tensorflow/core/lib/core:status",
@ -353,6 +351,7 @@ cc_library(
cc_library(
name = "lib",
hdrs = [
# TODO(rmlarsen): Remove bfloat16.h once dependency in third_party/swift is updated.
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/lib/core:legacy_lib_core_headers",
"//tensorflow/core/lib/gtl:legacy_lib_gtl_headers",
@ -582,7 +581,6 @@ cc_library(
"//tensorflow/core/framework:numeric_types.h",
"//tensorflow/core/framework:tensor_types.h",
"//tensorflow/core/framework:type_traits.h",
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/platform:framework_lite_hdrs",
"//tensorflow/core/platform/default:integral_types.h",
"//tensorflow/core/platform/default:logging.h",
@ -593,7 +591,6 @@ cc_library(
"@nsync//:nsync_cpp",
] + [
"//third_party/eigen3",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/platform:dynamic_annotations",
"//tensorflow/core/platform:platform_port",
"//tensorflow/core/platform:thread_annotations",
@ -1258,7 +1255,6 @@ filegroup(
"//tensorflow/core/example:mobile_srcs_no_runtime",
"//tensorflow/core/framework:attr_value_proto_text_srcs",
"//tensorflow/core/framework:mobile_srcs_no_runtime",
"//tensorflow/core/lib/bfloat16:mobile_srcs_no_runtime",
"//tensorflow/core/lib/core:mobile_srcs_no_runtime",
"//tensorflow/core/lib/gtl:mobile_srcs_no_runtime",
"//tensorflow/core/lib/hash:mobile_srcs_no_runtime",
@ -1696,7 +1692,6 @@ filegroup(
"//tensorflow/core/framework:resource_handle.h",
"//tensorflow/core/platform:legacy_lib_internal_headers",
"//tensorflow/core/platform:lib_internal_private_hdrs",
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/lib/core:legacy_lib_core_all_headers",
"//tensorflow/core/lib/gtl:legacy_lib_gtl_all_headers",
"//tensorflow/core/lib/histogram:legacy_lib_histogram_all_headers",
@ -1813,7 +1808,6 @@ cc_library(
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
"//third_party/eigen3",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/lib/core:arena",
"//tensorflow/core/lib/core:bitmap",
"//tensorflow/core/lib/core:blocking_counter",
@ -1894,6 +1888,7 @@ cc_library(
"//tensorflow/core/lib/strings:strcat",
"//tensorflow/core/lib/strings:stringprintf",
"//tensorflow/core/platform:abi",
"//tensorflow/core/platform:bfloat16",
"//tensorflow/core/platform:base64",
"//tensorflow/core/platform:blocking_counter",
"//tensorflow/core/platform:casts",
@ -2021,7 +2016,6 @@ alias(
cc_library(
name = "tflite_portable_logging",
hdrs = [
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/platform:tflite_portable_logging_hdrs",
"//tensorflow/core/platform/default:integral_types.h",
"//tensorflow/core/platform/default:logging.h",
@ -2051,7 +2045,6 @@ cc_library(
hdrs = [
"lib/jpeg/jpeg_handle.h",
"lib/jpeg/jpeg_mem.h",
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/lib/core:legacy_lib_core_stringpiece_header",
"//tensorflow/core/platform:jpeg_internal_hdrs",
"//tensorflow/core/platform/default:integral_types.h",
@ -2078,7 +2071,6 @@ cc_library(
]),
hdrs = [
"lib/gif/gif_io.h",
"//tensorflow/core/lib/bfloat16:bfloat16.h",
"//tensorflow/core/lib/core:legacy_lib_core_stringpiece_header",
"//tensorflow/core/lib/gtl:legacy_android_gif_internal_headers",
"//tensorflow/core/platform:gif_internal_hdrs",

View File

@ -614,7 +614,6 @@ cc_library(
"//tensorflow/core:__subpackages__",
],
deps = [
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/platform:types",
"//third_party/eigen3",
],

View File

@ -24,7 +24,6 @@ limitations under the License.
#include "third_party/eigen3/unsupported/Eigen/CXX11/FixedPoint"
// clang-format on
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/types.h"
namespace tensorflow {

View File

@ -26,10 +26,10 @@ limitations under the License.
#include "tensorflow/core/framework/tensor_testutil.h"
#include "tensorflow/core/graph/benchmark_testlib.h"
#include "tensorflow/core/grappler/grappler_item.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/lib/core/threadpool.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/platform/notification.h"
#include "tensorflow/core/platform/test.h"

View File

@ -16,7 +16,7 @@ limitations under the License.
// See docs in ../ops/array_ops.cc.
// clang-format off
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include <math.h> // NOLINT
#include <algorithm> // NOLINT

View File

@ -22,7 +22,7 @@ limitations under the License.
#define EIGEN_USE_THREADS
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#ifdef TENSORFLOW_USE_SYCL
#include "tensorflow/core/kernels/cwise_ops_sycl_common.h"

View File

@ -64,12 +64,12 @@ limitations under the License.
#include "tensorflow/core/kernels/data/range_dataset_op.h"
#include "tensorflow/core/kernels/data/take_dataset_op.h"
#include "tensorflow/core/kernels/data/tensor_slice_dataset_op.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/lib/gtl/inlined_vector.h"
#include "tensorflow/core/lib/io/record_writer.h"
#include "tensorflow/core/lib/io/zlib_compression_options.h"
#include "tensorflow/core/lib/io/zlib_outputbuffer.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/platform/errors.h"
#include "tensorflow/core/platform/file_system.h"

View File

@ -18,7 +18,7 @@ limitations under the License.
#include <numeric>
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#include "tensorflow/core/common_runtime/gpu/gpu_event_mgr.h"

View File

@ -23,8 +23,8 @@ limitations under the License.
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/kernels/meta_support.h"
#include "tensorflow/core/kernels/quantization_utils.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/platform/bfloat16.h"
namespace {
enum {

View File

@ -34,9 +34,9 @@ limitations under the License.
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/kernels/broadcast_to_op.h"
#include "tensorflow/core/kernels/list_kernels.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/types.h"
#include "tensorflow/core/util/bcast.h"
#include "tensorflow/core/util/ragged_to_dense_util.h"

View File

@ -13,7 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/core/lib/strings/str_util.h"
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU
@ -27,6 +26,7 @@ limitations under the License.
#include "tensorflow/core/kernels/gpu_prim.h"
#include "tensorflow/core/kernels/reduction_gpu_kernels.cu.h"
#include "tensorflow/core/kernels/reduction_ops_common.h"
#include "tensorflow/core/lib/strings/str_util.h"
#include "tensorflow/core/platform/types.h"
#include "tensorflow/core/util/gpu_kernel_helper.h"

View File

@ -19,7 +19,7 @@ limitations under the License.
// nvcc.
// clang-format off
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
// clang-format on
#include "tensorflow/core/framework/tensor_types.h"

View File

@ -23,7 +23,7 @@ limitations under the License.
#include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/kernels/fill_functor.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/platform/bfloat16.h"
namespace tensorflow {

View File

@ -23,8 +23,8 @@ limitations under the License.
#include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/kernels/training_op_helpers.h"
#include "tensorflow/core/kernels/variable_ops.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/util/util.h"
#ifdef TENSORFLOW_USE_SYCL

View File

@ -23,9 +23,9 @@ limitations under the License.
#include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/framework/tensor.h"
#include "tensorflow/core/framework/tensor_shape.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/lib/hash/hash.h"
#include "tensorflow/core/platform/bfloat16.h"
namespace tensorflow {
namespace {

View File

@ -1,7 +1,7 @@
load(
"//tensorflow/core/platform:rules_cc.bzl",
"cc_library",
)
# load(
# "//tensorflow/core/platform:rules_cc.bzl",
# "cc_library",
# )
package(
default_visibility = [
@ -10,24 +10,23 @@ package(
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "bfloat16",
hdrs = ["bfloat16.h"],
deps = [
"//tensorflow/core/platform:byte_order",
"//third_party/eigen3",
],
)
# cc_library(
# name = "bfloat16",
# hdrs = ["bfloat16.h"],
# deps = [
# "//third_party/eigen3",
# "//tensorflow/core/platform:byte_order",
# ],
# )
# Export source files needed for mobile builds, which do not use granular targets.
filegroup(
name = "mobile_srcs_no_runtime",
srcs = [
"bfloat16.h",
],
)
# # Export source files needed for mobile builds, which do not use granular targets.
# filegroup(
# name = "mobile_srcs_no_runtime",
# srcs = [
# "bfloat16.h",
# ],
# )
# TODO(bmzhao): Remove the following once references in core/BUILD is removed.
exports_files(
glob(["*"]),
["bfloat16.h"],
)

View File

@ -16,13 +16,6 @@ limitations under the License.
#ifndef TENSORFLOW_CORE_LIB_BFLOAT16_BFLOAT16_H_
#define TENSORFLOW_CORE_LIB_BFLOAT16_BFLOAT16_H_
// clang-format off
#include "tensorflow/core/platform/byte_order.h"
#include "third_party/eigen3/Eigen/Core"
// clang-format on
namespace tensorflow {
typedef Eigen::bfloat16 bfloat16;
} // end namespace tensorflow
#include "tensorflow/core/platform/bfloat16.h"
#endif // TENSORFLOW_CORE_LIB_BFLOAT16_BFLOAT16_H_

View File

@ -40,7 +40,6 @@ cc_library(
deps = [
":exact_uniform_int",
":philox_random",
"//tensorflow/core/lib/bfloat16",
"//tensorflow/core/lib/gtl:array_slice",
"//tensorflow/core/platform:logging",
"//tensorflow/core/platform:macros",

View File

@ -18,14 +18,13 @@ limitations under the License.
#include <string.h>
#include <cmath>
#include <algorithm>
#include <cmath>
#include <type_traits>
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/random/philox_random.h"
#include "tensorflow/core/platform/types.h"
namespace tensorflow {
namespace random {

View File

@ -68,6 +68,7 @@ exports_files(
"cpu_info.cc",
"cpu_info.h",
"cuda_libdevice_path.h",
"bfloat16.h",
"demangle.h",
"env.cc",
"env.h",
@ -123,6 +124,15 @@ cc_library(
],
)
cc_library(
name = "bfloat16",
hdrs = ["bfloat16.h"],
deps = [
":byte_order",
"//third_party/eigen3",
],
)
cc_library(
name = "blocking_counter",
hdrs = ["blocking_counter.h"],
@ -786,6 +796,7 @@ cc_library(
],
deps = [
":platform",
":bfloat16",
":tstring",
] + tf_platform_deps("types"),
)
@ -1322,6 +1333,7 @@ filegroup(
srcs = [
"abi.h",
"base64.h",
"bfloat16.h",
"casts.h",
"coding.h",
"context.h",
@ -1408,6 +1420,7 @@ filegroup(
filegroup(
name = "framework_lite_hdrs",
srcs = [
"bfloat16.h",
"byte_order.h",
"cpu_info.h",
"ctstring.h",
@ -1428,6 +1441,7 @@ filegroup(
filegroup(
name = "lib_internal_private_hdrs",
srcs = [
"bfloat16.h",
"raw_coding.h",
"scanner.h",
"str_util.h",
@ -1473,6 +1487,7 @@ filegroup(
filegroup(
name = "tflite_portable_logging_hdrs",
srcs = [
"bfloat16.h",
"ctstring.h",
"ctstring_internal.h",
"logging.h",
@ -1487,6 +1502,7 @@ filegroup(
filegroup(
name = "jpeg_internal_hdrs",
srcs = [
"bfloat16.h",
"ctstring.h",
"ctstring_internal.h",
"dynamic_annotations.h",
@ -1504,6 +1520,7 @@ filegroup(
filegroup(
name = "gif_internal_hdrs",
srcs = [
"bfloat16.h",
"ctstring.h",
"ctstring_internal.h",
"dynamic_annotations.h",
@ -1523,6 +1540,7 @@ filegroup(
srcs = [
"abi.cc",
"abi.h",
"bfloat16.h",
"blocking_counter.h",
"byte_order.h",
"casts.h",

View File

@ -0,0 +1,28 @@
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef TENSORFLOW_CORE_PLATFORM_BFLOAT16_BFLOAT16_H_
#define TENSORFLOW_CORE_PLATFORM_BFLOAT16_BFLOAT16_H_
// clang-format off
#include "tensorflow/core/platform/byte_order.h"
#include "third_party/eigen3/Eigen/Core"
// clang-format on
namespace tensorflow {
typedef Eigen::bfloat16 bfloat16;
} // end namespace tensorflow
#endif // TENSORFLOW_CORE_LIB_BFLOAT16_BFLOAT16_H_

View File

@ -18,6 +18,7 @@ limitations under the License.
#include <string>
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/platform.h"
#include "tensorflow/core/platform/tstring.h"

View File

@ -31,7 +31,6 @@ limitations under the License.
#include "tensorflow/core/framework/variant_tensor_data.h"
#include "tensorflow/core/framework/versions.h"
#include "tensorflow/core/framework/versions.pb.h"
#include "tensorflow/core/lib/bfloat16/bfloat16.h"
#include "tensorflow/core/lib/core/coding.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/lib/gtl/map_util.h"
@ -41,6 +40,7 @@ limitations under the License.
#include "tensorflow/core/lib/random/random.h"
#include "tensorflow/core/lib/strings/str_util.h"
#include "tensorflow/core/lib/strings/stringprintf.h"
#include "tensorflow/core/platform/bfloat16.h"
#include "tensorflow/core/platform/errors.h"
#include "tensorflow/core/util/env_var.h"
#include "tensorflow/core/util/saved_tensor_slice_util.h"