aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/grappler/model_analyzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/grappler/model_analyzer.cc')
-rw-r--r--tensorflow/python/grappler/model_analyzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/grappler/model_analyzer.cc b/tensorflow/python/grappler/model_analyzer.cc
index 7d365c3be9..da5b03234e 100644
--- a/tensorflow/python/grappler/model_analyzer.cc
+++ b/tensorflow/python/grappler/model_analyzer.cc
@@ -27,7 +27,7 @@ ModelAnalyzer::ModelAnalyzer(const GrapplerItem& item) : item_(item) {}
Status ModelAnalyzer::GenerateReport(std::ostream& os) {
GraphProperties properties(item_);
- TF_RETURN_IF_ERROR(properties.InferStatically());
+ TF_RETURN_IF_ERROR(properties.InferStatically(false));
for (const auto& node : item_.MainOpsFanin()) {
PrintNodeInfo(node, properties, os);