未验证 提交 7055d414 编写于 作者: Z zhupengyang 提交者: GitHub

fix split subgraph when config has empty line (#3250)

上级 3dc699c7
......@@ -223,6 +223,7 @@ std::unordered_set<Node *> SubgraphDetector::GetExcludedNodesFromConfigFile() {
std::vector<std::string> lines = ReadLines(config_file_path);
for (std::string line : lines) {
if (line.empty()) continue;
std::vector<std::string> node_info = Split(line, ":");
std::string op_type = node_info.at(0);
std::vector<std::string> in_vars_name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册