root
4e85071055
redundant codes clean
5 years ago
buxue
458498900c
support not in and add check for grad_with_sens with no sense provide.
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
mindspore-ci-bot
8da91ca3cf
!3237 support call the parent class function
Merge pull request !3237 from zhangbuxue/support_call_the_parent_class_construct_function
5 years ago
buxue
073507a5e0
support call the parent class function
5 years ago
panyifeng
5a10383cc3
add coo_tensor
5 years ago
buxue
cfa41733d6
support Python built-in function 'enumerate'
5 years ago
panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
huangdongrun
9d3c9c69fe
modify map to C.Map()
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
buxue
7ae289a197
Support mixed tensor for tensor getitem or setitem.
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