aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/mkl_pooling_ops_common.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-27 16:09:26 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-27 16:13:15 -0700
commit13a9453aa3c9deccb0bccd7805fb1c34004a5525 (patch)
tree09e980eddf7626076e44c7855d8cffbdb4ce12f8 /tensorflow/core/kernels/mkl_pooling_ops_common.h
parent2beb3a9d8b9df294e7635cc23d195a76fd78de79 (diff)
Remove references to std::string in MKL-related code.
tensorflow::string is sometimes ::string and sometimes std::string, which makes code that uses both subtly dangerous. For example, FactoryKeyCreator::AddAsKey() has an overload for tensorflow::string but had many callsites passing a std::string, causing incorrect behavior on the google platform. PiperOrigin-RevId: 206389641
Diffstat (limited to 'tensorflow/core/kernels/mkl_pooling_ops_common.h')
-rw-r--r--tensorflow/core/kernels/mkl_pooling_ops_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/mkl_pooling_ops_common.h b/tensorflow/core/kernels/mkl_pooling_ops_common.h
index c0dfed7d7d..cb1eecb36a 100644
--- a/tensorflow/core/kernels/mkl_pooling_ops_common.h
+++ b/tensorflow/core/kernels/mkl_pooling_ops_common.h
@@ -17,7 +17,6 @@ limitations under the License.
#define TENSORFLOW_CORE_KERNELS_MKL_POOLING_OPS_COMMON_H_
#ifdef INTEL_MKL
-#include <string>
#include <vector>
#include "tensorflow/core/util/mkl_util.h"
#include "tensorflow/core/util/padding.h"