aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/graph_transforms
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/tools/graph_transforms
parent20e2fdc2f95f213eef5a736a140d8591ef7a5b6e (diff)
Automated g4 rollback of changelist 175593063
PiperOrigin-RevId: 176445215
Diffstat (limited to 'tensorflow/tools/graph_transforms')
-rw-r--r--tensorflow/tools/graph_transforms/fold_constants_lib.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/tools/graph_transforms/fold_constants_lib.cc b/tensorflow/tools/graph_transforms/fold_constants_lib.cc
index f2934a79bd..250f54e20f 100644
--- a/tensorflow/tools/graph_transforms/fold_constants_lib.cc
+++ b/tensorflow/tools/graph_transforms/fold_constants_lib.cc
@@ -39,9 +39,9 @@ limitations under the License.
namespace tensorflow {
namespace graph_transforms {
namespace {
-using StringPieceSet = std::unordered_set<StringPiece, StringPiece::Hasher>;
+using StringPieceSet = std::unordered_set<StringPiece, StringPieceHasher>;
template <typename T>
-using StringPieceMap = std::unordered_map<StringPiece, T, StringPiece::Hasher>;
+using StringPieceMap = std::unordered_map<StringPiece, T, StringPieceHasher>;
} // namespace
Status ReplaceSendRecvs(const GraphDef& original_graph_def,