From bb196f949f1d1d7c8a4081c7112e0bed3218b33f Mon Sep 17 00:00:00 2001 From: Ben Barsdell Date: Wed, 1 May 2019 11:42:35 -0700 Subject: [PATCH] Tweak comment about identity optimization --- tensorflow/core/grappler/optimizers/constant_folding.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/core/grappler/optimizers/constant_folding.cc b/tensorflow/core/grappler/optimizers/constant_folding.cc index bc3c6f244f4..bbe487f29aa 100644 --- a/tensorflow/core/grappler/optimizers/constant_folding.cc +++ b/tensorflow/core/grappler/optimizers/constant_folding.cc @@ -2470,7 +2470,7 @@ bool ConstantFolding::IsReductionSimplifiableToIdentity( bool ConstantFolding::ReplaceReductionWithIdentity(NodeDef* node) const { // Replace the reduction node with an identity node, that can be further - // optimized by the model pruner. + // optimized by other passes. DataType output_type; if (node->attr().count("T") != 0) { output_type = node->attr().at("T").type();