Browse Source

Fit ut.

pull/1190/head
unknown 4 years ago
parent
commit
01238f0621
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      ge/generator/ge_generator.cc

+ 1
- 4
ge/generator/ge_generator.cc View File

@@ -696,10 +696,7 @@ Status GeGenerator::BuildSingleOp(OpDescPtr &op_desc, const vector<GeTensor> &in
// 1. Create ComputeGraph.
string name = ge::CurrentTimeInStr() + "_" + model_file_name;
Graph graph;
if (BuildSingleOpGraph(op_desc, inputs, outputs, name, graph) != ge::SUCCESS) {
GELOGE(GRAPH_FAILED, "make graph fail.");
return GRAPH_FAILED;
}
GE_CHK_STATUS(BuildSingleOpGraph(op_desc, inputs, outputs, name, graph), "make graph fail.");

// 2. check engine type when compile online
if (model_file_name == kFileNameSuffix) {


Loading…
Cancel
Save