mindspore2022/mindspore/ccsrc/optimizer
Hoai Linh Tran h00472437 46c590b787 Add new flag to watch for the need of Renormalize pass when parsing the python input program
Signed-off-by: Hoai Linh Tran h00472437 <hoai.linh.tran@huawei.com>

Add optimizer checking: For a group of passes in "optimizer", if flagged then it will check and collect the newly generated nodes without types (i.e. abstract() == nullptr).
Before calling Renormalize(), the optimizer will check if there is any node needed retyping. If not the Renormalize pass will not be called.
Add checking for non-null abstract but still needs renorm;
Add flags to Substitution to help watching Renormalize

Simpler pass result checker, change Bool to Enum type
2020-04-13 23:45:14 -04:00
..
ad fix bprop cache caused error with variable params 2020-04-10 12:21:40 +08:00
irpass add pass replace_old_param_ 2020-04-13 17:52:55 +08:00
CMakeLists.txt initial version 2020-03-27 22:54:54 +08:00
clean.cc initial version 2020-03-27 22:54:54 +08:00
clean.h initial version 2020-03-27 22:54:54 +08:00
control_depend.cc initial version 2020-03-27 22:54:54 +08:00
control_depend.h initial version 2020-03-27 22:54:54 +08:00
cse.cc initial version 2020-03-27 22:54:54 +08:00
cse.h initial version 2020-03-27 22:54:54 +08:00
irpass.cc Add new flag to watch for the need of Renormalize pass when parsing the python input program 2020-04-13 23:45:14 -04:00
irpass.h add pass replace_old_param_ 2020-04-13 17:52:55 +08:00
opt.cc Add new flag to watch for the need of Renormalize pass when parsing the python input program 2020-04-13 23:45:14 -04:00
opt.h Add new flag to watch for the need of Renormalize pass when parsing the python input program 2020-04-13 23:45:14 -04:00
optimizer.h Add new flag to watch for the need of Renormalize pass when parsing the python input program 2020-04-13 23:45:14 -04:00