mindspore2022/tests/ut/cpp/optimizer
zhousiyi a5b4e7bbf8 lift fv before grad except weight, then convert
switch(cond, partial(g1, xs), partial(g2, ys))(Zs)
 to
 switch(cond, g1, g2)(Xs, Ys, Zs)

 switch_layer(index, make_tuple(partial(g1, xs), partial(g2, ys)))(Zs)
 to
 switch_layer(index, make_tuple(g1, g2))(Xs, Ys, Zs)

put Zs at last when unifyparameter as it may have u-monad or io-monad

use joined args other than broadened one as some extra parameter which is not a parameter of while_header can be add to while_body

inline fprop_switch forcely

reorder the parameter if one of the parameter is Monad when incorporate call

incorporate switch tuple_getitem if item 0 of tuple is EnvInstance or
item 1 of tuple is bprop function

addn with shape() and shape(1)

remove context_ from FuncGraphEvaluator to make it re-entry able to resolve evaluator stuck issue because of re-entry of the same FuncGraphEvaluator
2021-07-03 00:03:37 +08:00
..
ad lift fv before grad except weight, then convert 2021-07-03 00:03:37 +08:00
cconv_test.cc decoupling core and debug 2020-07-31 10:39:31 +08:00
clean_test.cc support int64 shape 2020-11-05 21:15:49 +08:00
lib_test.cc separate irpass EnvGetItemEliminater and ItemTupleOrListEliminator 2021-04-02 17:38:40 +08:00
opt_test.cc Remove redundant phi nodes 2020-11-16 09:36:55 +08:00
optimizer_test.cc get all j node and then expand them 2021-03-12 20:06:43 +08:00