From 015a0b0d8f48728ead964e481857a8293c62c697 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Fri, 17 May 2019 11:40:28 -0700 Subject: [PATCH] CR --- src/executor/infer_graph_attr_pass.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/executor/infer_graph_attr_pass.cc b/src/executor/infer_graph_attr_pass.cc index fa5fa04f918a..a71e5ecbdd6f 100644 --- a/src/executor/infer_graph_attr_pass.cc +++ b/src/executor/infer_graph_attr_pass.cc @@ -628,8 +628,9 @@ nnvm::Graph InferShapeAttr(nnvm::Graph &&ret, } if (dispatch_mode_name) { for (size_t i = node_start; i < node_end; i++) { - if (dispatch_modes[i] == DispatchMode::kUndefined) + if (dispatch_modes[i] == DispatchMode::kUndefined) { ++num_unknown; + } } } ++i;