|
|
|
@@ -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) { |
|
|
|
|