Commit Graph

232 Commits

Author SHA1 Message Date
mindspore-ci-bot eecf0a9ab8 !1968 support vm for range
Merge pull request !1968 from jiangjinsheng/vm_FusedMulApplyMomentumExtern
2020-06-10 17:51:15 +08:00
jiangjinsheng a1efe4d14d support vm for range 2020-06-10 15:51:35 +08:00
kingfo 38436f929f move hook function to primtivePy class 2020-06-10 15:33:46 +08:00
mindspore-ci-bot bfc18f3adc !1873 synchronize latest ascend software 04 Jun 2020
Merge pull request !1873 from yanghaoran/master
2020-06-10 01:27:43 +08:00
yanghaoran 8da4c1a763 synchronize latest ascend software 04 Jun 2020 2020-06-09 23:34:13 +08:00
mindspore-ci-bot 0e7839826e !1945 [bug]fix bug in '=', use signature to support auto cast in assign.
Merge pull request !1945 from vlne-v1/I1JXUP-resnet50-thor-assign-fail
2020-06-09 22:57:01 +08:00
Wei Luning ee8420aefa Make assign operator to use the signature. 2020-06-09 21:12:56 +08:00
liuxiao 6856c2ac7a Adapt ops ApplyProximalAdagrad for GE 2020-06-09 14:20:21 +08:00
mindspore-ci-bot c82a8bf483 !1678 modify print
Merge pull request !1678 from jinyaohui/print
2020-06-08 11:20:53 +08:00
mindspore-ci-bot 0a897b0ce7 !1865 add inv,invgrad&invert for vm
Merge pull request !1865 from JichenZhao/bnops_for_vm
2020-06-08 10:42:20 +08:00
zhaojichen cdb7ec937b add inv,invgrad&invert for vm 2020-06-05 08:23:51 -04:00
zhaozhenlong 1f342fb926 add op BroadcastTo 2020-06-05 17:45:53 +08:00
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
2020-06-04 21:51:44 +08:00
jinyaohui 5e43edc474 clean pylint 2020-06-04 21:03:30 +08:00
jiangjinsheng fc4cf5a470 add vm support for ConfusionMatrix 2020-06-04 14:12:13 +08:00
liuwenhao4 ad4996d528 Register forward and backward operations of Ceil 2020-06-02 20:48:37 +08:00
mindspore-ci-bot da06310ae0 !1766 [bug][auto cast]fix bug when do auto cast
Merge pull request !1766 from vlne-v1/I1J0M0-amp-do-auto-cast-failed
2020-06-02 15:44:10 +08:00
Wei Luning 7e4d972f6f fix bug in do signature 2020-06-02 11:59:19 +08:00
zhaozhenlong 270f79c8c2 add op BasicLSTMCell vm 2020-06-01 21:06:12 +08:00
mindspore-ci-bot 0b94376bb3 !1762 support auto cast bool scalar and tensor to number tensor
Merge pull request !1762 from zhangbuxue/support_convert_bool_scalar_and_tensor_to_number_tensor
2020-06-01 20:24:38 +08:00
mindspore-ci-bot addf8e7d06 !1750 add vm support for operaotr Expm1
Merge pull request !1750 from zhouneng/add_vm_support_for_expm1
2020-06-01 17:43:20 +08:00
buxue 62f7dc49e5 support convert bool scalar and tensor to number tensor 2020-06-01 16:30:50 +08:00
lihongkang 436b309915 add vm for cosh and sinh 2020-06-01 15:22:12 +08:00
zhouneng e5419f7bd1 add vm support for Expm1 2020-06-01 14:39:04 +08:00
mindspore-ci-bot 3ec8f9bb40 !1695 Fixing some tiny faults about Pylint in my code(ops)
Merge pull request !1695 from liuwenhao/master
2020-06-01 09:30:48 +08:00
mindspore-ci-bot e1eb52738b !1682 Add tbe op SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagrad for VM.
Merge pull request !1682 from liuxiao/SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagradD
2020-06-01 09:19:44 +08:00
liuwenhao4 7b911886ec Fixing some tiny faults about Pylint in my code(ops) 2020-05-30 16:55:37 +08:00
liuxiao 4efd151784 add tbe op SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagradD for VM 2020-05-30 16:00:21 +08:00
zhouneng e6b9432aca add register for Atan AtanGrad Atanh 2020-05-30 15:08:28 +08:00
mindspore-ci-bot bbc64b8873 !1528 support vm for BesselI0e and BesselI1e
Merge pull request !1528 from jiangjinsheng/vm_bessel
2020-05-30 11:30:22 +08:00
mindspore-ci-bot 692f38ded2 !1532 clean pylint warning in test dir
Merge pull request !1532 from jinyaohui/pylint1
2020-05-30 10:13:45 +08:00
jinyaohui 86d197dfeb clean pylint 2020-05-29 23:00:00 +08:00
zhouneng 65b0f8d1b3 为算子进行VM流程对接 2020-05-29 16:45:14 +08:00
jiangjinsheng c3f681f0cf vm for BesselI0e and BesselI1e 2020-05-29 16:04:27 +08:00
liuwenhao4 f87c70a9ab Fixing some tiny faults about Pylint in my code(ops) 2020-05-29 12:01:04 +08:00
mindspore-ci-bot 39c1966593 !1488 add vm ops: Asin, AsinGrad, Asinh, AsinhGrad
Merge pull request !1488 from fangzehua/fzh_edit
2020-05-28 17:12:01 +08:00
mindspore-ci-bot 19ce0c372a !1257 Implicit type conversion
Merge pull request !1257 from candanzg/implicit_type_conversion2
2020-05-28 17:05:56 +08:00
mindspore-ci-bot 1a4abefa9a !1385 support for multi nest switch
Merge pull request !1385 from amongo/SupportMultiSwitch
2020-05-28 16:21:10 +08:00
fangzehua c0b8a90105 add vm ops: asin asinh asingrad asinhgrad 2020-05-28 14:58:23 +08:00
lihongkang a36880f0ef add vms for reducealld etc. 2020-05-28 11:00:02 +08:00
liuwenhao4 a7ad0d0a49 Fixing some tiny faults about Pylint in my code(ops) 2020-05-28 09:52:42 +08:00
mindspore-ci-bot 77547cdfc0 !1530 support tensor set item the number value type is similar as tensor dtype
Merge pull request !1530 from zhangbuxue/support_tensor_getitem_number_value_type_similar_as_tensor_dtype
2020-05-27 21:29:24 +08:00
mindspore-ci-bot df347785c3 !1508 add op BitwiseAnd BitwiseOr BitwiseXor vm
Merge pull request !1508 from zhaozhenlong/op/bitwise-and-or-xor
2020-05-27 20:05:23 +08:00
candanzg 2429da19fb implicit type conversion
Signed-off-by: candanzg <zhangshucheng@huawei.com>
2020-05-27 20:04:52 +08:00
buxue d226a23b65 support tensor set item the number value type is similar as tensor dtype not same 2020-05-27 18:08:10 +08:00
zhaozhenlong 6fa2813945 add op BitwiseAnd BitwiseOr BitwiseXor 2020-05-27 16:00:25 +08:00
mindspore-ci-bot ad279e90fd !1407 support mixed tensor index for tensor get item and set item and support in operator.
Merge pull request !1407 from zhangbuxue/support_mixed_tensor_for_tensor_get_item_and_tensor_set_item
2020-05-27 14:49:21 +08:00
mindspore-ci-bot 5b9c145ff8 !1383 keep different attributes for cnode evaluation
Merge pull request !1383 from amongo/KeepPrimAttrInCNode
2020-05-27 13:02:34 +08:00
buxue 7ae289a197 Support mixed tensor for tensor getitem or setitem. 2020-05-27 11:19:51 +08:00
jiangjinsheng a45dfca142 support BatchToSpaceND and SpaceToBatchND 2020-05-27 09:13:12 +08:00
huangdongrun 334d038008 add support for multi switch
resolve review
2020-05-26 21:20:29 +08:00
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
2020-05-26 16:19:58 +08:00
zhaozhenlong 55d1927534 add op scatter add vm 2020-05-26 12:17:23 +08:00
liuwenhao4 f3f0cbaeee Fixing some tiny faults about Pylint in my code(ops) 2020-05-25 21:27:45 +08:00
mindspore-ci-bot 44bf7c9330 !1414 fix issue use reshape as flatten grad impl
Merge pull request !1414 from zhaozhenlong/fix-issues-reshape-replace-flattern-grad
2020-05-25 20:45:46 +08:00
zhaozhenlong 30b93ecbf8 use reshape as flatten grad 2020-05-25 16:57:26 +08:00
liuxiao 627724a205 Add RangeD for GE 2020-05-25 14:49:49 +08:00
ougongchang 7d78b5d89e Put the parameter validation of the Summary operator into the python layer
add some unittest for summary operator

support ScalarSummary to record number type
2020-05-22 21:23:43 +08:00
mindspore-ci-bot f3d14fa14b !1363 Restrict tensor get item or set item not support mixed tensor.
Merge pull request !1363 from zhangbuxue/Not_support_mixed_tensor_as_index_for_tensor_getitem_and_setitem
2020-05-22 18:04:31 +08:00
mindspore-ci-bot 368007240c !1320 add applyrmsprop cumprod and reduceprod for vm
Merge pull request !1320 from JichenZhao/applyrms_squaresumall_cumprod_reduceprod
2020-05-22 16:33:31 +08:00
buxue 850171a34b Restrict tensor getitem or setitem not support mixed tensor. 2020-05-22 15:55:38 +08:00
jinyaohui fbdba6e4da clean pylint 2020-05-22 13:23:13 +08:00
zhaojichen a42ec8f69f add applyrmsprop op for vm 2020-05-21 23:02:32 -04:00
mindspore-ci-bot 274f6f014f !1133 support tensor get value by tensor index
Merge pull request !1133 from zhangbuxue/support_tensor_get_value_by_tensor_index
2020-05-22 10:02:35 +08:00
buxue e490618db8 support tensor get value by tensor index
support tensor set value by tensor index
2020-05-21 21:05:35 +08:00
zhouneng 218ade30b2 add vm support sin and cumsum 2020-05-21 17:26:01 +08:00
mindspore-ci-bot 2224fa093b !1302 Complete vm ops for BinaryCrossEntropy and BinaryCrossEntropyGrad
Merge pull request !1302 from lihongkang/master
2020-05-21 17:00:09 +08:00
mindspore-ci-bot b96a2ed816 !1312 support vm for erfc
Merge pull request !1312 from jiangjinsheng/vm_erfc
2020-05-21 16:59:56 +08:00
jiangjinsheng 2d3cd8276e vm for erfc 2020-05-21 10:08:23 +08:00
huangdongrun 3e2074b113 add check for ControlDepend 2020-05-20 22:48:00 +08:00
lihongkang cf543382aa add vms for binarycrossentropy and binarycrossentropygrad 2020-05-20 20:28:56 +08:00
mindspore-ci-bot 183144e135 !1282 support vm for PReLU and PReLUGrad
Merge pull request !1282 from jiangjinsheng/vm_prelu
2020-05-20 17:08:03 +08:00
jiangjinsheng ce09f5e15a vm for prelu and prelugrad 2020-05-20 11:21:56 +08:00
jiangjinsheng ba99cb7bcb support vm for space_to_depth 2020-05-20 09:47:12 +08:00
jiangjinsheng f9bd460c96 support vm for pack 2020-05-19 16:52:41 +08:00
mindspore-ci-bot 18c9495000 !1228 Adapt tbe op UnsortedSegmentMin for GE.
Merge pull request !1228 from liuxiao/UnsortedSegmentMin
2020-05-19 09:04:22 +08:00
liuxiao cc024bb3a1 UnsortedSegmentMin for GE 2020-05-18 20:49:58 +08:00
zhaojichen d1d1766bed add squaresumall op 2020-05-18 08:01:22 -04:00
jinyaohui 5a914994ba clean pylint 2020-05-18 16:42:35 +08:00
jinyaohui bcfaff97f9 clean pylint 2020-05-18 10:31:46 +08:00
mindspore-ci-bot 4efa9717bb !1129 Add op bounding box encoder
Merge pull request !1129 from zhaozhenlong/op/bounding-box-encoder
2020-05-18 09:04:59 +08:00
mindspore-ci-bot 6de7eb2633 !1203 delete ApplyAdamD for master
Merge pull request !1203 from changzherui/code516
2020-05-17 20:14:06 +08:00
changzherui 1e93927772 code 516 for test 2020-05-17 15:28:17 +08:00
mindspore-ci-bot c169ac6a18 !1195 add validate for geswitch and merge
Merge pull request !1195 from jiangjinsheng/issue_geswitch
2020-05-16 18:43:19 +08:00
jiangjinsheng c05203ef06 add validate for geswitch and merge 2020-05-16 17:49:21 +08:00
zhaozhenlong b54ffdc086 add op BoundingBoxDecode
iou

NMSWithMask

larsupdate testcase

sgd testcase
2020-05-16 02:40:16 -04:00
zhouneng c2a1b5f8c1 add register info for ROIAlign and ROIAlignGrad 2020-05-15 14:58:33 +08:00
jiangjinsheng 766906dd6d support vm for flatten 2020-05-15 10:30:58 +08:00
peixu_ren 99fda6f431 Add logsigmoid and reduce_logsumexp 2020-05-13 23:52:10 -03:00
mindspore-ci-bot 7e3ec651dc !1094 Complete vm ops for L2Normalize and L2NormalizeGrad
Merge pull request !1094 from zhouneng/add_vm_support_l2normalize
2020-05-13 21:52:45 +08:00
lihongkang ca8a914736 接入算子resizebilinear and resizebilineargrad 2020-05-13 14:27:35 +08:00
zhouneng 79725af4cd 为L2Normalize/L2NormalizeGrad增加VM支持 2020-05-12 16:46:02 +08:00
liuxiao 10abb68498 add ops CTCLoss 2020-05-12 15:58:51 +08:00
mindspore-ci-bot da7d605e85 !683 WIP: specialize hyper map parameter
Merge pull request !683 from xychow/bypass-renorm-and-specialize-hypermap-parameter
2020-05-12 15:50:00 +08:00
mindspore-ci-bot 6ab046e4dd !1062 Adapt Softplus\SoftplusGrad for VM, and ApplyFtrlD for both GE and VM.
Merge pull request !1062 from liuxiao/softplus-softplusgrad
2020-05-12 15:35:56 +08:00
jiangjinsheng c36e7f1564 support vm for log1p 2020-05-12 11:46:18 +08:00
zhousiyi 047ac018da specialize hypermap paramater 2020-05-12 01:51:57 +00:00
mindspore-ci-bot 4a8fcf5d76 !1055 support vm for floor
Merge pull request !1055 from jiangjinsheng/vm_floor
2020-05-12 09:20:16 +08:00
liuxiao 4335e9bc83 adapt Softplus\SoftplusGrad\ApplyFtrlD for VM 2020-05-11 20:45:12 +08:00
mindspore-ci-bot 5ff79d0204 !1048 Support index to switch_layer
Merge pull request !1048 from panyifeng/index_to_switch_case
2020-05-11 19:30:13 +08:00