Zhang Qinghua
cd7f7d40fb
Support pass args or|and kwargs for OP CreateInstance.
5 years ago
lianliguang
5849706968
clean pclint warning
5 years ago
lianliguang
d2c696667b
change process of infer value
5 years ago
lianliguang
4d7b7649e9
remove the useless PrimType
5 years ago
LianLiguang
bdc21bcf3e
change infer value
5 years ago
yujianfeng
f580031bdd
rectify the overlength of function line
5 years ago
l00591931
bbdb050fc7
Change switch to Switch
5 years ago
LianLiguang
4acab81599
using cpp infer firstly
5 years ago
l00591931
680324f225
Change make tuple in core.ops
5 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
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
5 years ago
buxue
6d395c1d3f
keep consistent in Graph mode and PyNative mode for 'isinstance'
5 years ago
mxm
82268dc703
support DynamicShape and StridedSlice primitive return range of shape value.
5 years ago
mxm
59f9ac9975
Primitive 'AddN' support dynamic shape
5 years ago
huanghui
bda74495f3
Add trace mangager around front opt
5 years ago
chenfei
f154abdff8
change some redundant code
normalize codes of session
5 years ago
Yi Huaijie
d7faa77b5e
support int64 shape
5 years ago
buxue
483c8a179a
improve the recognition of Parameter object and raise error when convert keywordarg to pydata
5 years ago
buxue
458498900c
support not in and add check for grad_with_sens with no sense provide.
5 years ago
buxue
3fd73f9d08
raise exception when use HookBackward in graph mode
5 years ago
buxue
a087ef7c34
raise exception when UniformPrimitive has wrong number args
5 years ago
Wei Luning
879a519136
updata signature
5 years ago
fary86
144a35b17e
Adapt GatherV2 for dynamic shape
5 years ago
fary86
fcbb3e0edc
Refactor ms_context implementation
5 years ago
zhousiyi
c25e37e7bf
make backend/optimizer pybind free
5 years ago
mindspore-ci-bot
5b1cf18cb9
!5055 prepare to support int64
Merge pull request !5055 from lirongzhen1/int64
5 years ago
lirongzhen1
531ad4df70
prepare to support int64
5 years ago
fary86
947e19b839
Fix bug of switch layer join
5 years ago
WilliamLian
1f5441d73a
remove inferfunction to core
5 years ago
buxue
02d6e3a43a
fix bugs
5 years ago
Wei Luning
ea3ddea3d4
remove ref origin
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
fary86
8ac5672abb
Add support for dynamic shape
5 years ago
panyifeng
9927e6eb5c
eager mode sparse
5 years ago
liubuyu
d81862a916
decoupling core and context
5 years ago
buxue
b075674cf2
support tensor attr shape and dtype in graph mode
5 years ago
panyifeng
1bd047e274
eager mode enable sparse
5 years ago
panyifeng
8a89f003eb
fix sparse related issues
5 years ago
Wei Luning
f362503d57
support throw attribute error from c++
5 years ago
panyifeng
5a10383cc3
add coo_tensor
5 years ago
WilliamLian
4c4c08c726
refactor primitive GetObj function
5 years ago
liubuyu
43c79eb853
mindspore path adjust
5 years ago