You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_pass.cc 20 kB

5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc modified: ge/graph/passes/base_pass.cc modified: ge/graph/passes/base_pass.h modified: ge/graph/passes/folding_pass.cc modified: ge/graph/passes/infer_base_pass.h modified: ge/graph/passes/infer_value_range_pass.cc modified: ge/graph/passes/infer_value_range_pass.h modified: ge/graph/passes/infershape_pass.cc modified: ge/graph/passes/infershape_pass.h modified: ge/graph/passes/merge_pass.cc modified: ge/graph/passes/switch_dead_branch_elimination.cc modified: ge/graph/preprocess/graph_preprocess.cc
4 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. /**
  2. * Copyright 2020 Huawei Technologies Co., Ltd
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #include "graph/passes/base_pass.h"
  17. #include <queue>
  18. #include <unordered_set>
  19. #include "common/debug/log.h"
  20. #include "graph/utils/graph_utils.h"
  21. namespace ge {
  22. namespace {
  23. constexpr int kMaxRePassTimes = 10000;
  24. constexpr size_t kMaxOneInNodes = 1000;
  25. // Each iteration, we take about 0.3k memory on the stack, we should change the recursion to loop later
  26. constexpr int kMaxRecursiveDepth = 20;
  27. void GetAllNodesNoInputEdge(const ComputeGraphPtr &graph,
  28. GEPass::GraphLevelState &g_state) {
  29. for (auto &node : graph->GetDirectNode()) {
  30. if (node == nullptr) {
  31. continue;
  32. }
  33. size_t in_nums = node->GetInNodes().size();
  34. if (in_nums == 0) {
  35. g_state.AddNodeToQueueIfNotSeen(node);
  36. } else if (in_nums > kMaxOneInNodes) {
  37. g_state.nodes_last.insert(node);
  38. }
  39. }
  40. }
  41. bool AllNodesIn(const Node::Vistor<NodePtr> &nodes, const std::unordered_set<NodePtr> &nodes_set) {
  42. return !std::any_of(nodes.begin(), nodes.end(), [&](const NodePtr &n) {
  43. return nodes_set.count(n) == 0;
  44. });
  45. }
  46. bool AnyNodesIn(const Node::Vistor<NodePtr> &nodes, const std::unordered_set<NodePtr> &nodes_set) {
  47. return std::any_of(nodes.begin(), nodes.end(), [&](const NodePtr &n) {
  48. return nodes_set.count(n) > 0;
  49. });
  50. }
  51. bool IsNodeReadyToQueue(const NodePtr &node, GEPass::GraphLevelState &g_state) {
  52. if (node == nullptr) {
  53. GELOGW("node is null");
  54. return false;
  55. }
  56. if (g_state.nodes_deleted.count(node) > 0) {
  57. GELOGD("The node %s was deleted before, skip it.", node->GetName().c_str());
  58. return false;
  59. }
  60. if (g_state.nodes_last.count(node) != 0) {
  61. return false;
  62. }
  63. if (!node->IsAllInNodesSeen(g_state.nodes_seen)) {
  64. return false;
  65. }
  66. // 因为在PassNode之前,会首先将node的输出节点添加queue,因此若在pass node时,suspend了node的输出节点,后续逻辑与上面相同
  67. // TODO 需要注意的是,这里的保证是一次”尽力而为“,若pass node时,将node之前的节点`A`添加到了suspend,
  68. // 那么`A`节点的后继和间接后继节点的pass不会受到suspend的影响
  69. // 理论上来说,如果在pass node之前,首先收集node的输出节点,在pass后,将输出节点做suspend、delete的去除,然后加queue,
  70. // 这样处理就不需要在这里做额外的确认了
  71. if (g_state.nodes_suspend.count(node) > 0) {
  72. GELOGD("The node %s has been added to suspend-iteration nodes list, the iteration of it will be suspend.",
  73. node->GetName().c_str());
  74. return false;
  75. }
  76. if (AnyNodesIn(node->GetInAllNodes(), g_state.nodes_suspend)) {
  77. GELOGD("The node %s has been added to suspend-iteration nodes list, the iteration of it will be suspend.",
  78. node->GetName().c_str());
  79. return false;
  80. }
  81. return true;
  82. }
  83. void CollectOutNodesBeforePass(const NodePtr &node, std::unordered_set<NodePtr> &out_nodes_before_pass) {
  84. for (const auto &out_node : node->GetOutNodes()) {
  85. out_nodes_before_pass.insert(out_node);
  86. }
  87. }
  88. void AddNextIterNodes(const NodePtr &cur_node, std::unordered_set<NodePtr> &out_nodes_before_pass,
  89. GEPass::GraphLevelState &g_state) {
  90. for (auto &node : cur_node->GetOutNodes()) {
  91. if (node == nullptr) {
  92. continue;
  93. }
  94. if (out_nodes_before_pass.erase(node) == 0) {
  95. // after pass node , new output node come up
  96. GELOGD("New output nodes %s come up after pass %s.", node->GetName().c_str(), cur_node->GetName().c_str());
  97. }
  98. if (IsNodeReadyToQueue(node, g_state)) {
  99. g_state.AddNodeToQueueIfNotSeen(node);
  100. }
  101. }
  102. // A-->B-->C
  103. // \
  104. // D--->E
  105. // If B has been delete after pass, two case need to consider
  106. // 1. A & C & E has been repass by B. good choice
  107. // 2. A & C & E not added to repass, C will not pass because no one trigger it.
  108. // while E will pass because D will trigger it.
  109. // So here we need add node which has no input_node to queue.
  110. for (const auto &node : out_nodes_before_pass) {
  111. if (!node->GetInAllNodes().empty()) {
  112. GELOGD("Node %s used to be output of node %s, but after pass it doesnt. "
  113. "It may triggered by other node, so no need add to queue now.");
  114. continue;
  115. }
  116. if (IsNodeReadyToQueue(node, g_state)) {
  117. // unlink edge may happen, add these node to queue otherwise they can not pass
  118. GELOGI("Node %s may lost from cur node, add to queue if not seen.",
  119. node->GetName().c_str(), cur_node->GetName().c_str());
  120. g_state.AddNodeToQueueIfNotSeen(node);
  121. }
  122. }
  123. }
  124. void AddImmediateRepassNodesToQueue(NodePtr &cur_node,
  125. const std::unordered_map<NodePtr, std::string> re_pass_imm_nodes_to_pass_names,
  126. GEPass::GraphLevelState &g_state) {
  127. for (const auto &node_2_pass_names : re_pass_imm_nodes_to_pass_names) {
  128. auto repass_imm_node = node_2_pass_names.first;
  129. if (repass_imm_node == nullptr) {
  130. GELOGW("Found null immediately re-pass node when executing pass %s on node %s type %s",
  131. node_2_pass_names.second.c_str(),
  132. cur_node->GetName().c_str(), cur_node->GetType().c_str());
  133. continue;
  134. }
  135. if (g_state.nodes_passed.count(repass_imm_node) > 0) {
  136. GELOGD("The node %s specified by pass %s has been passed, it will repass immediately",
  137. repass_imm_node->GetName().c_str(), node_2_pass_names.second.c_str());
  138. g_state.AddNodeToQueueFront(repass_imm_node);
  139. continue;
  140. }
  141. GELOGW("The node %s specified by pass %s has un-passed in_nodes, it will not repass immediately",
  142. repass_imm_node->GetName().c_str(), node_2_pass_names.second.c_str());
  143. }
  144. }
  145. void AddLastNodesToQueue(GEPass::GraphLevelState &g_state) {
  146. for (auto &node : g_state.nodes_last) {
  147. // todo 为什么会在node_seen中看到node_last,blame一下看看历史合入记录
  148. if (node->IsAllInNodesSeen(g_state.nodes_seen)) {
  149. g_state.AddNodeToQueueIfNotSeen(node);
  150. }
  151. }
  152. g_state.nodes_last.clear();
  153. }
  154. void AddResumeNodesToQueue(const std::unordered_map<NodePtr, std::string> resume_nodes_to_pass_names,
  155. GEPass::GraphLevelState &g_state) {
  156. // Currently we dont keep the order of suspend nodes and resume nodes, so its hard to know
  157. // which one comes first. Simple way : if a node both have suspend & resume state, we will resume it.
  158. // Better way: keep the order when suspend/resume a node, and in this func suspend/resume in order.
  159. for (const auto &node_2_pass_names : resume_nodes_to_pass_names) {
  160. auto node = node_2_pass_names.first;
  161. if (g_state.nodes_suspend.erase(node) > 0) {
  162. if (g_state.nodes_seen.count(node.get()) > 0 || node->IsAllInNodesSeen(g_state.nodes_seen)) {
  163. g_state.nodes.push_back(node);
  164. GELOGD("Node %s has been resumed by pass %s, add to queue.",
  165. node->GetName().c_str(), node_2_pass_names.second.c_str());
  166. }
  167. }
  168. }
  169. }
  170. void PushToRePassIfSeen(NodePtr &node, const std::pair<std::string, BaseNodePass *> &name_to_pass,
  171. std::unordered_set<Node *> &nodes_seen, const std::unordered_set<NodePtr> &nodes_to_re_pass,
  172. std::unordered_set<NodePtr> &nodes_re_pass) {
  173. for (const auto &node_to_re_pass : nodes_to_re_pass) {
  174. if (node_to_re_pass == nullptr) {
  175. GELOGW("Found null re-pass node when executing %s on node %s type %s", name_to_pass.first.c_str(),
  176. node->GetName().c_str(), node->GetType().c_str());
  177. continue;
  178. }
  179. if (nodes_seen.count(node_to_re_pass.get()) > 0 || node_to_re_pass->IsAllInNodesSeen(nodes_seen)) {
  180. GELOGD("The node %s will be re-pass.", node_to_re_pass->GetName().c_str());
  181. nodes_re_pass.insert(node_to_re_pass);
  182. } else {
  183. GELOGD("The node %s are not all seen, don't set repass this time", node_to_re_pass->GetName().c_str());
  184. }
  185. }
  186. }
  187. void SetFlagOption(NodePassOption option, NamesToPass names_to_pass) {
  188. for (auto &name_to_pass : names_to_pass) {
  189. name_to_pass.second->SetOption(option, "");
  190. }
  191. }
  192. void ClearOption(NamesToPass names_to_pass) {
  193. for (auto &name_to_pass : names_to_pass) {
  194. name_to_pass.second->ClearOptions();
  195. }
  196. }
  197. } // namespace
  198. Status BaseNodePass::IsolateAndDeleteNode(NodePtr &node, const std::vector<int> &io_map,
  199. bool is_repass_io_immediately) {
  200. if (node == nullptr) {
  201. REPORT_INNER_ERROR("E19999", "Param node is nullptr, check invalid.");
  202. GELOGE(FAILED, "[Check][Param] parameter node is nullptr.");
  203. return FAILED;
  204. }
  205. GELOGI("Prepare to isolate and delete node, name:%s, type:%s.", node->GetName().c_str(),
  206. node->GetType().c_str());
  207. ComputeGraphPtr graph = node->GetOwnerComputeGraph();
  208. if (graph == nullptr) {
  209. REPORT_INNER_ERROR("E19999", "The owner graph of node:%s must not be null.", node->GetName().c_str());
  210. GELOGE(FAILED, "[Get][OwnerComputeGraph] failed, The owner graph of node:%s must not be null.",
  211. node->GetName().c_str());
  212. return FAILED;
  213. }
  214. is_repass_io_immediately ? AddImmediateRePassNodesWithInOut(node) : AddRePassNodesWithInOut(node);
  215. if (GraphUtils::IsolateNode(node, io_map) != GRAPH_SUCCESS) {
  216. REPORT_CALL_ERROR("E19999", "Isolate Node:%s failed", node->GetName().c_str());
  217. GELOGE(FAILED, "[Isolate][Node] %s failed.", node->GetName().c_str());
  218. return FAILED;
  219. }
  220. if (GraphUtils::RemoveNodeWithoutRelink(graph, node) != SUCCESS) {
  221. REPORT_CALL_ERROR("E19999", "call RemoveNodeWithoutRelink for node:%s failed.", node->GetName().c_str());
  222. GELOGE(FAILED, "[Call][RemoveNodeWithoutRelink] for node:%s failed.", node->GetName().c_str());
  223. return FAILED;
  224. }
  225. AddNodeDeleted(node);
  226. return SUCCESS;
  227. }
  228. Status GEPass::Run(const NamesToPass &names_to_passes) {
  229. if (graph_ == nullptr) {
  230. REPORT_INNER_ERROR("E19999", "graph_ is nullptr, check invalid.");
  231. GELOGE(INTERNAL_ERROR, "[Check][Param] The graph is nullptr");
  232. return INTERNAL_ERROR;
  233. }
  234. if (names_to_passes.empty()) {
  235. GELOGW("No passes input, the GEPass will do nothing");
  236. return INTERNAL_ERROR;
  237. }
  238. for (const auto &name_to_pass : names_to_passes) {
  239. if (name_to_pass.second == nullptr) {
  240. GELOGE(INTERNAL_ERROR, "[Check][Param] There is null pointer in passes(%s)", name_to_pass.first.c_str());
  241. return INTERNAL_ERROR;
  242. }
  243. }
  244. if (depth_ > kMaxRecursiveDepth) {
  245. GELOGE(PARAM_INVALID,
  246. "[Check][Param] The pass for root graph %s will be terminated because too many nesting"
  247. " levels(%d) of subgraphs, last subgraph is %s",
  248. root_graph_->GetName().c_str(), depth_, graph_->GetName().c_str());
  249. return PARAM_INVALID;
  250. }
  251. return RunPassesOneGraph(names_to_passes);
  252. }
  253. void NotifyPassGraphStart(const ComputeGraphPtr &graph, const NamesToPass &names_to_pass) {
  254. for (auto &name_to_pass : names_to_pass) {
  255. name_to_pass.second->OnStartPassGraph(graph);
  256. }
  257. }
  258. Status GEPass::HandleLeakedSuspendNodes(const NamesToPass &names_to_passes, GraphLevelState &g_state) {
  259. std::unordered_map<NodePtr, std::string> resume_nodes_to_pass_names;
  260. for (auto &name_to_pass : names_to_passes) {
  261. name_to_pass.second->init();
  262. auto ret = name_to_pass.second->OnSuspendNodesLeaked();
  263. if (ret != SUCCESS) {
  264. GELOGE(ret, "Internal Error happened when pass %s handle on suspend nodes leaked.",
  265. name_to_pass.first.c_str());
  266. return ret;
  267. }
  268. for (const auto &resume_node : name_to_pass.second->GetNodesResume()){
  269. resume_nodes_to_pass_names[resume_node].append(name_to_pass.first + ",");
  270. }
  271. }
  272. AddResumeNodesToQueue(resume_nodes_to_pass_names, g_state);
  273. return SUCCESS;
  274. }
  275. Status GEPass::RunPassesOneGraph(const NamesToPass &names_to_passes) {
  276. GELOGD("Begin to run pass on graph, passes count %zu", names_to_passes.size());
  277. NotifyPassGraphStart(graph_, names_to_passes);
  278. GraphLevelState g_state;
  279. g_state.re_pass_times = 0;
  280. GetAllNodesNoInputEdge(graph_, g_state);
  281. GELOGD("Start points count %zu", g_state.nodes.size());
  282. do {
  283. if (!g_state.nodes_suspend.empty()) {
  284. auto ret = HandleLeakedSuspendNodes(names_to_passes, g_state);
  285. if (ret != SUCCESS) {
  286. GELOGE(ret, "Failed to handle leaked suspend nodes, break base pass.");
  287. return ret;
  288. }
  289. if (g_state.nodes.empty()) {
  290. // There are suspend nodes leaked, but no pass resume it
  291. GELOGE(INTERNAL_ERROR, "There are suspend nodes but no pass resume, which means"
  292. "some nodes in this graph never pass.");
  293. return INTERNAL_ERROR;
  294. }
  295. }
  296. auto ret = RunPassesGraphRepass(names_to_passes, g_state);
  297. if (ret != SUCCESS) {
  298. return ret;
  299. }
  300. } while (!g_state.nodes_suspend.empty());
  301. return SUCCESS;
  302. }
  303. Status GEPass::RunPassesGraphRepass(const NamesToPass &names_to_passes, GraphLevelState &g_state) {
  304. RepassLevelState rp_state;
  305. do {
  306. for (auto &node : rp_state.nodes_re_pass) {
  307. GELOGD("Add node %s to queue for re-pass.", node->GetName().c_str());
  308. g_state.AddNodeToQueue(node);
  309. }
  310. rp_state.nodes_re_pass.clear();
  311. while (!g_state.nodes.empty()) {
  312. auto node = g_state.PopFront();
  313. if (g_state.nodes_deleted.count(node) > 0) {
  314. GELOGD("The node %s was deleted before, skip it.", node->GetName().c_str());
  315. }
  316. (void)rp_state.nodes_re_pass.erase(node);// todo why
  317. g_state.nodes_seen.insert(node.get()); // todo 为什么这里seen
  318. std::unordered_set<NodePtr> out_nodes_before_pass;
  319. CollectOutNodesBeforePass(node, out_nodes_before_pass);
  320. auto ret = RunPassesNodeOnce(node, names_to_passes, g_state, rp_state);
  321. if (ret != SUCCESS) {
  322. GELOGE(ret, "[Process][Passes] on node %s type %s failed, error code:%u", node->GetName().c_str(),
  323. node->GetType().c_str(), ret);
  324. return ret;
  325. }
  326. AddNextIterNodes(node, out_nodes_before_pass, g_state);
  327. }
  328. AddLastNodesToQueue(g_state);
  329. } while ((!rp_state.nodes_re_pass.empty() || !g_state.nodes.empty()) && ++g_state.re_pass_times < kMaxRePassTimes);
  330. if (g_state.re_pass_times == kMaxRePassTimes) {
  331. GELOGW("re_pass_times should not come to %d", kMaxRePassTimes);
  332. }
  333. GELOGD("All passes runs end");
  334. return SUCCESS;
  335. }
  336. Status GEPass::RunPassesOnSubGraph(const NodePtr &node, const NamesToPass &names_to_passes, bool &has_sub_graph) {
  337. auto sub_graph_names = node->GetOpDesc()->GetSubgraphInstanceNames();
  338. has_sub_graph = false;
  339. for (const auto &name : sub_graph_names) {
  340. auto graph = root_graph_->GetSubgraph(name);
  341. if (graph == nullptr) {
  342. GELOGW("Can not find the sub graph %s from node %s, the pass-process will skip it",
  343. name.c_str(), node->GetName().c_str());
  344. continue;
  345. }
  346. has_sub_graph = true;
  347. GELOGI("Begin to run passes on the sub graph %s of node %s", name.c_str(), node->GetName().c_str());
  348. GEPass pass(graph, root_graph_, depth_ + 1);
  349. auto ret = pass.Run(names_to_passes);
  350. if (ret != SUCCESS) {
  351. GELOGE(ret, "[Run][Passes] for sub graph:%s from node:%s failed", name.c_str(), node->GetName().c_str());
  352. return ret;
  353. }
  354. }
  355. return SUCCESS;
  356. }
  357. Status GEPass::RunPassesNodeOnce(NodePtr &node, const NamesToPass &names_to_passes,
  358. GraphLevelState &g_state, RepassLevelState &rp_state) {
  359. auto ret = RunPassesOnNode(node, names_to_passes, g_state, rp_state);
  360. if (ret != SUCCESS) {
  361. GELOGE(ret, "[Process][Passes] on node %s type %s failed, error code:%u", node->GetName().c_str(),
  362. node->GetType().c_str(), ret);
  363. return ret;
  364. }
  365. bool has_sub_graph = false;
  366. ret = RunPassesOnSubGraph(node, names_to_passes, has_sub_graph);
  367. if (ret != SUCCESS) {
  368. GELOGE(ret, "[Run][Passes] on the sub graph of node %s failed", node->GetName().c_str());
  369. return ret;
  370. }
  371. if (has_sub_graph) {
  372. GELOGD("There are subgraphs on node %s, run passes for for the second time", node->GetName().c_str());
  373. SetFlagOption(kOptimizeAfterSubGraph, names_to_passes);
  374. ret = RunPassesOnNode(node, names_to_passes, g_state, rp_state);
  375. if (ret != SUCCESS) {
  376. GELOGE(ret, "[Process][Passes] on node %s type %s failed, error code: %u", node->GetName().c_str(),
  377. node->GetType().c_str(), ret);
  378. return ret;
  379. }
  380. // There is only one option scene, so set and clear options around the `RunPasses` func.
  381. // if there are more than one scene to set options, the `ClearOption` function
  382. // should be called each time at the begin of the iteration
  383. ClearOption(names_to_passes);
  384. }
  385. return SUCCESS;
  386. }
  387. Status GEPass::RunPassesOnNode(NodePtr &node, const NamesToPass &names_to_passes, GraphLevelState &g_state,
  388. RepassLevelState &rp_state) {
  389. if (node == nullptr) {
  390. REPORT_INNER_ERROR("E19999", "Param node is nullptr, check invalid.");
  391. GELOGE(FAILED, "[Check][Param] parameter node is nullptr.");
  392. return FAILED;
  393. }
  394. GELOGD("Begin to run pass for node %s", node->GetName().c_str());
  395. for (const auto &name_to_pass : names_to_passes) {
  396. GELOGD("Begin to run pass %s for node %s", name_to_pass.first.c_str(), node->GetName().c_str());
  397. name_to_pass.second->init();
  398. auto result = name_to_pass.second->Run(node);
  399. if (result != SUCCESS) {
  400. REPORT_CALL_ERROR("E19999", "process pass %s on node:%s failed, ret:%u", name_to_pass.first.c_str(),
  401. node->GetName().c_str(), result);
  402. GELOGE(INTERNAL_ERROR,
  403. "[Process][Pass] %s on node %s failed, result "
  404. "%u, the passes will be terminated immediately.",
  405. name_to_pass.first.c_str(), node->GetName().c_str(), result);
  406. return result;
  407. }
  408. if (name_to_pass.second->GetNodesDeleted().count(node) > 0) {
  409. GELOGD("The node %s was deleted by pass %s, stop the remain passes", node->GetName().c_str(),
  410. name_to_pass.first.c_str());
  411. break;
  412. }
  413. }
  414. g_state.nodes_passed.insert(node);
  415. std::unordered_map<NodePtr, std::string> repass_imm_nodes_to_pass_names;
  416. std::unordered_map<NodePtr, std::string> resume_nodes_to_pass_names;
  417. // if multi pass add one node to repass immediately, here need to remove duplication
  418. for (const auto &name_to_pass : names_to_passes) {
  419. PushToRePassIfSeen(node, name_to_pass, g_state.nodes_seen, name_to_pass.second->GetNodesNeedRePass(),
  420. rp_state.nodes_re_pass);
  421. // collect imm_node && resume_node among these passes
  422. for (const auto &imm_node : name_to_pass.second->GetNodesNeedRePassImmediately()) {
  423. repass_imm_nodes_to_pass_names[imm_node].append(name_to_pass.first + ",");
  424. }
  425. for (const auto &resume_node : name_to_pass.second->GetNodesResume()) {
  426. resume_nodes_to_pass_names[resume_node].append(name_to_pass.first + ",");
  427. }
  428. for (const auto &suspend_node : name_to_pass.second->GetNodesSuspend()) {
  429. GELOGD("The iteration suspend of node %s has been set by pass %s", suspend_node->GetName().c_str(),
  430. name_to_pass.first.c_str());
  431. g_state.nodes_suspend.insert(suspend_node);
  432. }
  433. const auto &nodes_deleted_by_pass = name_to_pass.second->GetNodesDeleted();
  434. g_state.nodes_deleted.insert(nodes_deleted_by_pass.begin(), nodes_deleted_by_pass.end());
  435. }
  436. AddImmediateRepassNodesToQueue(node, repass_imm_nodes_to_pass_names, g_state);
  437. AddResumeNodesToQueue(resume_nodes_to_pass_names, g_state);
  438. return SUCCESS;
  439. }
  440. } // namespace ge

图引擎模块(GE)是MindSpore的一个子模块,其代码由C++实现,位于前端模块ME和底层硬件之间,起到承接作用。图引擎模块以ME下发的图作为输入,然后进行一系列的深度图优化操作,最后输出一张可以在底层硬件上高效运行的图。GE针对昇腾AI处理器的硬件结构特点,做了特定的优化工作,以此来充分发挥出昇腾AI处理器的强大算力。在进行模型训练/推理时,GE会被自动调用而用户并不感知。GE主要由GE API和GE Core两部分组成,详细的架构图如下所示