liuxiao93
1ad876cec8
Remove Primitive from functional.__all__.
5 years ago
Yi Huaijie
6066b16838
implement parallel Pack
5 years ago
buxue
c3c06514d7
perfect annotation of ops and context and support bool equal
5 years ago
Wei Luning
879a519136
updata signature
5 years ago
buxue
6af286b3e5
fix bug the const input is broadened in PyNative mode
5 years ago
shibeiji
40fc11e9a4
Mimic higher batch size by accumulating gradients N times before weight update
5 years ago
kpy
4fa89408a1
pynative add identity primitive and add comment for set_grad
5 years ago
panyifeng
34e50e5d6e
fix cell bprop
5 years ago
mindspore-ci-bot
5827ba9a8a
!3940 View code support interface 'all' and 'any' of tensor
Merge pull request !3940 from zhangbuxue/support_interface_all_and_any_of_tensor
5 years ago
buxue
2c4cb49a11
support interface 'all' and 'any' of tensor
5 years ago
kpy
a09565389c
optimize infer in pynative mode
5 years ago
kingfo
fab9fac109
fix batchnorm under mix precision in pynative mode
5 years ago
simson
5f77fbdd75
Rewrite tensor's __bool__ for pynative mode
5 years ago
panyifeng
5a10383cc3
add coo_tensor
5 years ago
panyifeng
44e74ad5aa
Apply indexed_slices
5 years ago
kingfo
add3778a61
add grad all in pynative mode
5 years ago
panyifeng
d6635bbbe2
Add IndexedSlices
5 years ago
kingfo
078738adc5
add tensor mod & floordiv operation
5 years ago
kingfo
358982a98f
fix hook and bprop debug issue
5 years ago
kingfo
38436f929f
move hook function to primtivePy class
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
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
kingfo
9785178b88
add tensor compare & len & constexpr operation
5 years ago
BowenK
96379faa3a
Remove ZerosLikeTensor and sub with ZerosLike
5 years ago
buxue
e490618db8
support tensor get value by tensor index
support tensor set value by tensor index
5 years ago
panyifeng
b7596e1f33
Add switch_case primitive
5 years ago
mindspore-ci-bot
8bf35b2b0c
!700 validate bprop rules
Merge pull request !700 from penn/validate_bprop_rules
5 years ago
kpy
e64c755ad6
change tensor equal bug
5 years ago
panyifeng
9e633b6c12
validate bprop rules
5 years ago
candanzg
663d597330
tensor assign with slice index
Signed-off-by: candanzg <zhangshucheng@huawei.com>
5 years ago
buxue
437bb8c27c
support ellipsis and bool for tensor slice
5 years ago
buxue
7c233a57fa
support python func print and != for list with none
6 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
mindspore-ci-bot
a5d95e472e
!106 support comparison ops for python
Merge pull request !106 from amongo/SupportPythonOperators
6 years ago
huangdongrun
461d8e3a08
add comparison ops
fix pylint
use scalar_lt primitive directly
fix review
6 years ago
Wei Luning
73ba399364
remove ge depend in cpu
6 years ago
zhunaipan
930a1fb0a8
initial version
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>
6 years ago