Browse Source

fix

tags/v1.2.0
wjm 3 years ago
parent
commit
801625bb36
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      ge/graph/passes/multi_batch_clone_pass.cc

+ 1
- 2
ge/graph/passes/multi_batch_clone_pass.cc View File

@@ -488,8 +488,7 @@ Status MultiBatchClonePass::SetMaxShapeToData(const NodePtr &data) {
auto shape = data_shape;
auto ret = multibatch::CalcShape(data_to_dynamic_info_.at(data_name).at(i), shape);
if (ret != SUCCESS) {
GELOGE(ret, "Failed to calculate the batched shape for data node %s, the shapes may not match",
data->GetName().c_str());
GELOGE(ret, "Failed to calculate the shape for data node %s, the shape may not match", data->GetName().c_str());
return ret;
}
tensor.SetShape(shape);


Loading…
Cancel
Save