Browse Source

Fix aclInferShapeAndType

tags/v1.1.0
dongduo 4 years ago
parent
commit
e1bd856bc1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ge/ir_build/ge_ir_build.cc

+ 4
- 0
ge/ir_build/ge_ir_build.cc View File

@@ -439,6 +439,10 @@ graphStatus aclgrphGetIRVersion(int *major_version, int *minor_version, int *pat
}

graphStatus aclgrphInferShapeAndType(ge::Graph &graph) {
Impl builder;
std::map<std::string, std::string> options = {};
builder.Init(options);

auto compute_graph = GraphUtils::GetComputeGraph(graph);
GE_CHECK_NOTNULL(compute_graph);



Loading…
Cancel
Save