Browse Source

Add ut.

tags/v1.3.0
unknown 4 years ago
parent
commit
0a79ca0a06
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/generator/ge_generator.cc

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

@@ -759,7 +759,7 @@ Status GeGenerator::BuildSingleOp(OpDescPtr &op_desc, const vector<GeTensor> &in
bool all_shape = false;
(void)AttrUtils::GetBool(op_desc, kAicpuAllshape, all_shape);
bool no_aicore = true;
GE_CHK_STATUS_RET_NOLOG(CheckNoAicore(root_graph, no_aicore));
GE_CHK_STATUS_RET(CheckNoAicore(root_graph, no_aicore), "[Check][NoAicore] failed.");
if (all_shape && no_aicore) {
GELOGD("Get aicpu all_shape kernel!");
vector<GeTensor> inputs_dynamic;


Loading…
Cancel
Save