aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/graph/graph_constructor.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-11-20 17:56:28 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-20 18:05:55 -0800
commitcf57817f554fa7bfe7c134453ef9cf4374aef23d (patch)
tree82af9fb58abb444f0a4f5d4bf7e33ecccac63ce3 /tensorflow/core/graph/graph_constructor.cc
parent20e2fdc2f95f213eef5a736a140d8591ef7a5b6e (diff)
Automated g4 rollback of changelist 175593063
PiperOrigin-RevId: 176445215
Diffstat (limited to 'tensorflow/core/graph/graph_constructor.cc')
-rw-r--r--tensorflow/core/graph/graph_constructor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/graph/graph_constructor.cc b/tensorflow/core/graph/graph_constructor.cc
index e45828b7ba..8890a9fb0f 100644
--- a/tensorflow/core/graph/graph_constructor.cc
+++ b/tensorflow/core/graph/graph_constructor.cc
@@ -241,13 +241,13 @@ class GraphConstructor {
};
// TODO(vrv): Profile this data structure to see if we should use an
// alternative implementation of std::unordered_map.
- std::unordered_map<StringPiece, NodeInfo, StringPiece::Hasher> gdef_nodes_;
+ std::unordered_map<StringPiece, NodeInfo, StringPieceHasher> gdef_nodes_;
// Mapping from node name to the existing node in g_.
- std::unordered_map<StringPiece, Node*, StringPiece::Hasher> existing_nodes_;
+ std::unordered_map<StringPiece, Node*, StringPieceHasher> existing_nodes_;
// Prefixes already used in the graph.
- std::unordered_set<StringPiece, StringPiece::Hasher> existing_prefixes_;
+ std::unordered_set<StringPiece, StringPieceHasher> existing_prefixes_;
// Imported node names that have been uniquified. The key is the original
// name, the value is the new unique name.