zhangzhaoju
610ee46ebe
Add file open failure info while file open failed
4 years ago
i-robot
349d3f85cb
!20783 Clean code warning for debug
Merge pull request !20783 from huanghui/clean_code_warning_723
4 years ago
huanghui
8f3cf6a02c
clean code warning for debug
4 years ago
i-robot
f44a92c4b3
!20504 Fix warning of codes
Merge pull request !20504 from JoyLvliang/fix_warning_of_codes
4 years ago
7347157+joylvliang@user.noreply.gitee.com
ab32ebc758
fix_warning_of_codes
4 years ago
lanzhineng
2a530d0c39
infer exception handle
4 years ago
i-robot
439842c19c
!20517 fix clean code problem in master
Merge pull request !20517 from huangbingjian/clean_code_master
4 years ago
huangbingjian
2e863dbccc
fix clean code problem
4 years ago
Zhang Qinghua
b9e70acf77
Correct the number in the stack when meet forwarded config.
4 years ago
i-robot
40370dc8d7
!20078 Export IR with FV informations.
Merge pull request !20078 from 张清华/opt
4 years ago
huanghui
3dde001d83
fix inputs size error
4 years ago
Zhang Qinghua
a9f58484b0
Export IR with FV informations.
4 years ago
Zhang Qinghua
f7ffc03249
Dump func graph where to call the node.
4 years ago
Zhang Qinghua
9670b99f1b
Record and Dump func graph call stack with context info.
4 years ago
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
4 years ago
i-robot
35e35d5af4
!19077 Trace CNode Enter&Leave during StackFrame jump.
Merge pull request !19077 from 张清华/opt
4 years ago
Zhang Qinghua
3b85a38c9d
Trace CNode Enter&Leave during StackFrame jump.
4 years ago
lanzhineng
e2adafed3b
infer opt: determined fun graph first runs & opt exception handle
4 years ago
lanzhineng
fc8ec7fc49
infer_optv3:infer optimize to find exit of branches and resolve the
endless issue.
4 years ago
huangbingjian
d695554ae5
modify the error message of abstract join
4 years ago
i-robot
059a9297af
!17982 Code self-check
Merge pull request !17982 from huanghui/code-self-check
4 years ago
huanghui
bcb0208060
code-self-check of debug
4 years ago
lianliguang
8a9b388ac3
clean CXX warning
4 years ago
huanghui
29f632613f
optimize log
4 years ago
huanghui
0610a8d99c
9fdc0035a0
4 years ago
Zhang Qinghua
5ad27e7639
Evaluate the func graph in simulative stack, not to call recursively.
4 years ago
huanghui
a7369db449
Use env MS_OM_PATH to save analyze_fail.dat
4 years ago
zhangzhaoju
6a2aee492c
Clean code that not used
4 years ago
Zhang Qinghua
8b8c59f01e
Optimize the compile performance in Parser, FG, Manager and Renormalize:
---
Remove the routine of handling isolated nodes in Renormalize.
Add isolated nodes from Parser&Resolver.
Modify isolated nodes handling in FG&Manager.
Optimize the renormalize routines.
Other optimizations.
5 years ago
buxue
3df40b73a5
clear parse or resolve debug info
5 years ago
buxue
69d9a33ddb
show line of code when parse or resolve phase exception
5 years ago
Zhang Qinghua
b43d71c130
Throw exception if using call stack for CNodes in the same func graph.
5 years ago
fary86
1dbc3b491a
fix bug of no line info when error reporting
5 years ago
wuyongkang
78611b5d5b
fix static check problems
5 years ago
He Wei
d981dda97f
Decouple infer trace from LogWriter
5 years ago
liubuyu
f4bc0bc9fe
move the dependency of utils to core
5 years ago
liubuyu
43c79eb853
mindspore path adjust
5 years ago
fary86
abfaf15951
Fix codex, split big functions
5 years ago
fary86
dad1f809c1
Enhence dump ir with type info when infer failed
5 years ago
leopz
a9e30a96db
separate py from debug and utils
5 years ago
leopz
4508134ceb
add tensor_minnie and separate py from ir
5 years ago
huangdongrun
1159f2b11e
add prim infer attr cache
modify infer to get abstract value and attr value map together
support get attr in specialize
clone primitive when specialize if attribute is not the same with
infered attribute
5 years ago
Kang
be60bd3d79
Code refactoring for the static_analysis : modified Infer to Eval.
5 years ago
buxue
aff6777ecc
fix reviewboot and example of TruncatedNormal and add type mapping
5 years ago
zhoufeng
c2b3360d69
update clang format rule
6 years ago
leonwanghui
322ffef3e4
Fix some typo errors in mindspore ir module
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago
fary86
816b60491d
Dump graph with type info when static analysis failed
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago