diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-07-27 16:09:26 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-27 16:13:15 -0700 |
commit | 13a9453aa3c9deccb0bccd7805fb1c34004a5525 (patch) | |
tree | 09e980eddf7626076e44c7855d8cffbdb4ce12f8 /tensorflow/core/graph/mkl_layout_pass.cc | |
parent | 2beb3a9d8b9df294e7635cc23d195a76fd78de79 (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/graph/mkl_layout_pass.cc')
-rw-r--r-- | tensorflow/core/graph/mkl_layout_pass.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/core/graph/mkl_layout_pass.cc b/tensorflow/core/graph/mkl_layout_pass.cc index b9667998d6..3e769b5303 100644 --- a/tensorflow/core/graph/mkl_layout_pass.cc +++ b/tensorflow/core/graph/mkl_layout_pass.cc @@ -22,7 +22,6 @@ limitations under the License. #include <memory> #include <queue> #include <set> -#include <string> #include <unordered_set> #include <utility> #include <vector> |