|
|
@@ -68,6 +68,7 @@ |
|
|
|
#include "graph/passes/iterator_op_pass.h" |
|
|
|
#include "graph/passes/link_gen_mask_nodes_pass.h" |
|
|
|
#include "graph/passes/mark_graph_unknown_status_pass.h" |
|
|
|
#include "graph/passes/dynamic_single_op_reset_shape_pass.h" |
|
|
|
#include "graph/passes/merge_pass.h" |
|
|
|
#include "graph/passes/merge_input_memcpy_pass.h" |
|
|
|
#include "graph/passes/merge_to_stream_merge_pass.h" |
|
|
@@ -2275,6 +2276,9 @@ Status GraphManager::OptimizeStage2(ge::ComputeGraphPtr &compute_graph) { |
|
|
|
new (std::nothrow) VariableRefDeleteOpPass)) |
|
|
|
GE_CHK_STATUS_RET(pass_for_control_attr_optimize.AddPass("OptimizeStage2::ControlAttrOptimize::CompileNodesPass", |
|
|
|
new (std::nothrow) CompileNodesPass)) |
|
|
|
GE_CHK_STATUS_RET( |
|
|
|
pass_for_control_attr_optimize.AddPass("OptimizeStage2::AfterMergePasses::DynamicSingleOpResetShapePass", |
|
|
|
new (std::nothrow) DynamicSingleOpResetShapePass)) |
|
|
|
GE_CHK_STATUS_RET(pass_for_control_attr_optimize.AddPass( |
|
|
|
"OptimizeStage2::AfterMergePasses::MarkGraphUnknownStatusPass", new(std::nothrow) MarkGraphUnknownStatusPass)) |
|
|
|
GE_CHK_STATUS_RET( |
|
|
|