mindspore-ci-bot
db94c5fb0f
!2786 Optimization for ast_cache
Merge pull request !2786 from Kang/optimization
5 years ago
wuyongkang
f797d17a6e
Optimization for ast_cache
5 years ago
mindspore-ci-bot
bd3f3b51e4
!2722 Optimize parser
Merge pull request !2722 from Kang/optimization
5 years ago
wuyongkang
274bd25386
Optimize parser
5 years ago
panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
huangdongrun
9d3c9c69fe
modify map to C.Map()
5 years ago
huangdongrun
9522f59b87
support for tensor indexing in pynative
support tensor slice using constexpr
remove tensorslice metagraph
add pynative testcases
5 years ago
huangdongrun
beacc26077
* add isconstant primitive
* add infer_value for common math ops
* convert constant bool tensor to bool value
* do not infer value when encounter 0 as division
for while condition, do not unrool if condition is a tensor
5 years ago
rick_sanchez
e2a322b6b7
Modify code to support dynamic graph.
5 years ago
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
5 years ago
kingfo
840922e501
add backward hook function in pynative mode
5 years ago
candanzg
e886a3182c
tensor assign with ellpsis
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
candanzg
663d597330
tensor assign with slice index
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
7c233a57fa
support python func print and != for list with none
5 years ago
candanzg
3f087dba1a
Tensor assign syntax:
1) A[B]=U
2) A[A>n]=U
A.shape == B.shape
U is a scalar or Tensor(size==1)
B is Tensor(dtype=bool)
n is a Number
Signed-off-by: candanzg <zhangshucheng@huawei.com>
6 years ago
buxue
80978cf3cc
support operator ** // % for scalar and tensor, and in not in for dict, ang str concat
6 years ago
huangdongrun
461d8e3a08
add comparison ops
fix pylint
use scalar_lt primitive directly
fix review
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago