aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/graph_transforms/quantize_nodes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tools/graph_transforms/quantize_nodes.cc')
-rw-r--r--tensorflow/tools/graph_transforms/quantize_nodes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/graph_transforms/quantize_nodes.cc b/tensorflow/tools/graph_transforms/quantize_nodes.cc
index 5d1c76834f..78078ab6ab 100644
--- a/tensorflow/tools/graph_transforms/quantize_nodes.cc
+++ b/tensorflow/tools/graph_transforms/quantize_nodes.cc
@@ -941,7 +941,7 @@ Status QuantizeNodes(const GraphDef& input_graph_def,
// keep interoperability with float ops.
TF_RETURN_IF_ERROR(RemoveRedundantQuantizations(deduped_graph_def, context,
output_graph_def));
- TF_RETURN_IF_ERROR(IsGraphValid(merged_graph_def));
+ TF_RETURN_IF_ERROR(IsGraphValid(*output_graph_def));
return Status::OK();
}