Browse Source

For dynamic shape compile.

pull/693/head
unknown 5 years ago
parent
commit
b86a5ce46d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ge/graph/build/graph_builder.cc

+ 1
- 0
ge/graph/build/graph_builder.cc View File

@@ -312,6 +312,7 @@ Status GraphBuilder::SetConstantInputOffset(ComputeGraphPtr &comp_graph) {
std::vector<int64_t> output_offsets(op_desc->GetOutputsSize(), 0);
op_desc->SetOutputOffset(output_offsets);
}
return SUCCESS;
}

Status GraphBuilder::BuildForUnknownShapeGraph(ComputeGraphPtr &comp_graph, GeModelPtr &ge_model_ptr,


Loading…
Cancel
Save