panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
gong chen
a6dfa281ea
Init GraphKernel.
- It provides a unified style to express graph and kernel for user.
- It provides a unified IR to represent graph and kernel for developer.
- It breaks the boundary between graph and kernel.
- It provides more opportunities to do compile optimization.
5 years ago
Kang
3ba2074213
Add MixedPrecisionCast for Dict
5 years ago
mindspore-ci-bot
2a2dd7d340
!1803 Optimized MixedPrecisionCast function
Merge pull request !1803 from Kang/master
5 years ago
Kang
041f628cce
Optimize MixedPrecisionCast function
5 years ago
fary86
abfaf15951
Fix codex, split big functions
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
gongchen
425a207663
bug(SA): Add the support of nested loop.
5 years ago
zhousiyi
5a085da8dd
compare context with pointer
5 years ago
fary86
b314c1d621
Remove extra empty string from log text
5 years ago
zhousiyi
f6a4f3d155
[static_analysis]: remove the TrivialPrimEvaluator cache.
add cache for PythonPrimEvaluator. Be careful that
the infer function of PythonPrimitive in python code should
be idempotent.
6 years ago
mindspore-ci-bot
086edc133f
!65 fix bug of global variable initialization order is not guaranteed during compilation
Merge pull request !65 from mxm/for_prim_map_init
6 years ago
leonwanghui
ad76e1c42a
Fix some typo errors in pipeline module
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago
huangdongrun
d3f733fa25
support grad on graph with variable arguments
use unpack graph primitive instead
add testcases for all grad interface
remove debug log
format code
remove dumpfuncgraph
resolve clang-format
resolve reviews
resolve cpplint
fix review
6 years ago
mxm
2f031e1540
fixed: PrimitiveToInferImplMap map is global, and key of the map PrimitivePtr also a global variable. If key is initialized later than the map initialized during compilation, will cause the primitive map initialize failed. Variable initialization order is not guaranteed during compilation.
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago