Commit Graph

406 Commits

Author SHA1 Message Date
mindspore-ci-bot be3d79cb6b !4204 add dynamic shape support for GatherV2 and others
Merge pull request !4204 from fary86/adapt_primitive_dynamic_shape
2020-09-02 09:31:14 +08:00
buxue 359e1f236e check user define bprop when there is parameter in nested network 2020-09-01 21:24:27 +08:00
fary86 144a35b17e Adapt GatherV2 for dynamic shape 2020-09-01 19:24:21 +08:00
jinyaohui a9972a7def optim pylint 2020-08-31 14:49:57 +08:00
mindspore-ci-bot e94416be0c !5283 Support setting operator io format in the frontend
Merge pull request !5283 from liangchenghui/io_format
2020-08-27 15:48:13 +08:00
梁成辉 34d433fd9a Set io format for old backend 2020-08-26 20:49:15 +08:00
panyifeng 1a54785fe2 remove name arg from gradoperation 2020-08-26 11:16:57 +08:00
fary86 8d245497a4 Fix large for loop Runtime Error due to backend missing operators 2020-08-25 16:25:41 +08:00
mindspore-ci-bot afd16fbf0a !4963 fix bug of switch layer join
Merge pull request !4963 from fary86/fix_switch_layer_join_bug
2020-08-25 10:47:32 +08:00
fary86 947e19b839 Fix bug of switch layer join 2020-08-25 09:08:53 +08:00
panyifeng 637e812347 remove global grad ops 2020-08-24 16:50:09 +08:00
fary86 04524b6bd3 Fix coredump caused by function call depth too large 2020-08-22 15:00:04 +08:00
mindspore-ci-bot c92f7c9170 !4911 add func type check for switch layer
Merge pull request !4911 from riemann_penn/add_func_type_check_for_switch_layer
2020-08-21 16:42:12 +08:00
panyifeng abab21ed57 add func type check for switch layer 2020-08-21 16:11:40 +08:00
mindspore-ci-bot 6e8d3a3b82 !4859 Add CTCGrerdyDecoder ops for old backend.
Merge pull request !4859 from liuxiao93/Add-ReversSqueuce-EditDistance-CTCGrerdyDecoder
2020-08-21 16:05:19 +08:00
panyifeng f9f3cd7ce0 fix switch_layer_issues 2020-08-21 14:17:51 +08:00
liuxiao93 9bc18ea2e5 Add CTCGrerdyDecoder ops for GE. 2020-08-21 10:12:01 +08:00
mindspore-ci-bot 2ac410e90d !4789 Add EditDistance op for GE.
Merge pull request !4789 from liuxiao93/Add-EditDistance-op-for-GE
2020-08-21 09:49:38 +08:00
liuxiao93 4c99f4f649 Add EditDistance op for GE. 2020-08-20 19:39:57 +08:00
huangdongrun f30418991c refactor bool op parsing to be consistent with pynative mode
add testcase of st
2020-08-20 16:45:30 +08:00
panyifeng 22a9d02e9f switch_layer incorporate env_get and tuple_get 2020-08-18 20:23:23 +08:00
fary86 38083e055a Fix coredump missing return statement after while loop 2020-08-18 14:16:21 +08:00
mindspore-ci-bot f875bf21bc !2948 fix control flow
Merge pull request !2948 from amongo/FixControlFlow
2020-08-17 08:56:22 +08:00
huangdongrun 2a6d346d2f support if by if grad parameter
add join for ref

adjust env eliminate to eliminate all env ops

add partial app cache

resolve while endless

fix env eliminate

support for "for while" cases

fix join shape error
2020-08-15 09:47:10 +08:00
panyifeng 1c296b96c9 fix switch layer sigle prim cell 2020-08-14 17:04:01 +08:00
jonyguo 4964f7703a Merge branch 'master' into code_sync_incubator_f3c32baf_to_master_fcfc75a3_0811 2020-08-11 19:40:04 +08:00
peixu_ren 3820533ad1 Refactor Gamma and Poisson ops 2020-08-09 19:47:26 -04:00
changzherui 22336c0843 sync 0807 code to ms-incubator 2020-08-08 10:43:09 +08:00
peixu_ren 517fed55a5 Added LGamma op 2020-08-07 11:40:59 -04:00
fary86 7602054acd Fix do concat in while loop specialize error 2020-08-06 19:41:11 +08:00
mindspore-ci-bot 0b407dfe78 !4005 unsortedsegsum grad
Merge pull request !4005 from fangzehua/unsortedsegsum
2020-08-06 14:19:20 +08:00
mindspore-ci-bot c493859978 !4004 add squreasumall grad
Merge pull request !4004 from fangzehua/squaresumall
2020-08-06 14:18:23 +08:00
fangzehua 99f2be7064 unsortedsegsum grad 2020-08-05 20:34:06 +08:00
fangzehua 7011508379 add squreasumall grad 2020-08-05 20:28:02 +08:00
panyifeng 9927e6eb5c eager mode sparse 2020-08-05 18:21:30 +08:00
liuxiao93 374b7b8583 Add TBE op SquaredDifference for VM. 2020-08-03 18:52:18 +08:00
peixu_ren 374772035a Refactor random uniform ops and complete gamma and poisson 2020-07-30 09:46:52 -04:00
simson b2cdd5d848 Fix the difference of Error type between graph&pynative mode 2020-07-27 17:28:13 +08:00
mindspore-ci-bot 568da0d510 !3425 fix avgpoolgrad
Merge pull request !3425 from fangzehua/avgpool
2020-07-27 14:15:29 +08:00
fangzehua 86dd0c583a fix avgpool grad 2020-07-27 11:06:32 +08:00
mindspore-ci-bot 295038d346 !3324 add reduce_any op for vm
Merge pull request !3324 from fangzehua/reduce_any
2020-07-27 10:38:57 +08:00
kingfo 73ea9b7855 fix mix precesion operator issue 2020-07-25 09:40:50 +08:00
mindspore-ci-bot 684ff4f46b !3160 Rewrite tensor's __bool__ for pynative mode
Merge pull request !3160 from Simson/push-to-opensource
2020-07-23 16:55:49 +08:00
simson 5f77fbdd75 Rewrite tensor's __bool__ for pynative mode 2020-07-23 16:51:46 +08:00
fangzehua 228a959cc7 add reduce any op for vm 2020-07-23 14:43:53 +08:00
Wei Luning 484d7f10c8 refine code* refine code in bert model* add ToAbstruct for `FuncGraph`, `MetaFuncGraph` `Primitive`* remove partial hard code in spec for poly* remove any in data convert cache 2020-07-23 12:43:37 +08:00
mindspore-ci-bot cf4353f728 !3220 Add random normal op at MindSpore front-end
Merge pull request !3220 from peixu_ren/custom_gpu
2020-07-21 20:33:52 +08:00
fangzehua dde74b227c add 5 vm op 2020-07-21 11:34:10 +08:00
peixu_ren 9b45018dfd Add random normal op at MindSpore front-end 2020-07-20 23:31:30 -04:00
mindspore-ci-bot 6f8863b65d !3198 synchronize latest Ascend software suite 18 Jul 2020, and merging branches
Merge pull request !3198 from yanghaoran/code_sync_0718
2020-07-19 14:14:45 +08:00
yanghaoran 859acc6d2a synchronize latest Ascend software suite 18 Jul 2020, and merging branches 2020-07-18 21:09:55 +08:00
liuxiao93 8705545bcd Fix bug about output of AddNGrad. 2020-07-18 18:47:52 +08:00
Wei Luning 28d1d37085 End at validate when export. 2020-07-17 12:44:12 +08:00
mindspore-ci-bot eeba046115 !3050 Add TBE ops Tan/TruncateDiv/TruncateMod for VM.
Merge pull request !3050 from liuxiao93/Tan/TruncateDiv/TruncateMOd
2020-07-16 20:36:50 +08:00
changzherui f4cb445ea8 syn code for 0715 2020-07-16 17:18:21 +08:00
mindspore-ci-bot 6335598fff !3111 Rollback to Normal that operates on D
Merge pull request !3111 from peixu_ren/custom_gpu
2020-07-16 16:09:24 +08:00
peixu_ren 1feca960aa Rollback to Normal on D 2020-07-16 00:49:23 -03:00
mindspore-ci-bot 7976d77593 !3104 fix mindspore dtype equal
Merge pull request !3104 from fary86/fix_mstype_eq
2020-07-16 10:26:34 +08:00
fary86 595767b4b5 Fix bug of mindspore dtype equal 2020-07-16 09:06:55 +08:00
peixu_ren ac561f2956 Refactor random normal op 2020-07-14 11:35:19 -03:00
peixu_ren 20ca96c62b Add random normal MindSpore interface 2020-07-14 11:19:12 -03:00
liuxiao93 c772b9e291 Add TBE ops Tan/TruncateDiv/TruncateMod for VM. 2020-07-14 16:27:01 +08:00
mindspore-ci-bot 323a80c620 !2765 fix large for loop segment fault
Merge pull request !2765 from fary86/fix_large_for_loop
2020-07-09 09:43:03 +08:00
mindspore-ci-bot 5baae2ebd0 !2884 Add TBE op UnsortedSegmentProd for VM.
Merge pull request !2884 from liuxiao93/UnsortedSegmentProd
2020-07-07 17:12:43 +08:00
liuxiao93 2b0ecfd2b1 Add TBE op UnsortedSegmentProd for VM. 2020-07-07 15:35:00 +08:00
jiangjinsheng a3565a75d1 vm for ParallelConcat 2020-07-06 18:35:12 +08:00
changzherui 17da929b82 syn code 0706 2020-07-06 17:51:17 +08:00
mindspore-ci-bot 3d377c51b9 !2839 support vm for PopulationCount
Merge pull request !2839 from jiangjinsheng/vm_population_count
2020-07-06 17:32:08 +08:00
mindspore-ci-bot aef002ad6c !2809 support Python built-in function 'enumerate'
Merge pull request !2809 from zhangbuxue/support_Python_built-in_functions_enumerate
2020-07-06 09:38:47 +08:00
leilei_snow 5cccfbc61b Add TransShape Operator. 2020-07-05 03:34:35 +00:00
jiangjinsheng ee7aef98df vm for PopulationCount 2020-07-03 17:47:11 +08:00
mindspore-ci-bot 860a32632e !2671 vm for MaxPoolGradGrad, MaxPoolGradGradWithArgmax
Merge pull request !2671 from jiangjinsheng/vm_max_pool_ext2
2020-07-03 17:40:54 +08:00
buxue cfa41733d6 support Python built-in function 'enumerate' 2020-07-03 14:42:10 +08:00
fary86 e17469bf42 Fix bug of large for loop 2020-07-03 11:15:41 +08:00
panbingao 1e51414f1b Adapting operator Softsign in ME 2020-07-02 03:31:25 -04:00
liuxiao ddedc41613 Add TBE operators SparseApplyFtrlV2\SparseApplyAdagradV2 for VM. 2020-07-02 12:00:58 +08:00
jiangjinsheng ce4e15b0b3 vm for MaxPoolExt2,MaxPoolGradGrad,MaxPoolGradGradWithArgmax 2020-07-01 17:05:11 +08:00
zhaozhenlong 8d9939eaa4 ScatterMull and ScatterDiv vm 2020-07-01 15:49:24 +08:00
mindspore-ci-bot 4eafb21ea8 !2638 support vm for mod
Merge pull request !2638 from jiangjinsheng/vm_mod
2020-07-01 14:26:07 +08:00
buxue be771aa9e4 refactor StridedSlice op 2020-07-01 11:08:36 +08:00
jiangjinsheng ffd0352162 vm for mod 2020-07-01 10:16:47 +08:00
mindspore-ci-bot 3a89f93cc5 !2699 add ScatterMax ScatterMin ScatterSub vm
Merge pull request !2699 from zhaozhenlong/op/scatter-max-vm
2020-06-30 20:10:17 +08:00
mindspore-ci-bot 51c4f4a499 !2683 Add TBE operaters ApplyAddSign\ApplyPowerSign\ApplyGradientDescent\ApplyProximalGradientDescent for VM.
Merge pull request !2683 from liuxiao/ops-for-VM
2020-06-29 21:30:17 +08:00
zhaozhenlong a8654ac3b5 add ScatterMax ScatterMin ScatterSub for vm 2020-06-29 17:21:08 +08:00
jin-xiulang 8dff818a18 Add Laplace random operator. 2020-06-29 15:51:59 +08:00
liuxiao 2097a0e90a Add optimizer operators for VM. 2020-06-29 11:35:45 +08:00
peixu_ren c5f72582dc Added 5 random ops 2020-06-28 12:34:02 -03:00
zhaozhenlong d55c0f6679 complement scatter add support dtype 2020-06-28 16:51:53 +08:00
Ziyan 0925e35252 enable optimizer parallel with broadcast 2020-06-27 14:36:17 +08:00
mindspore-ci-bot a9dac909d9 !2535 Fix pynative indexing
Merge pull request !2535 from amongo/FixPynativeTensorIndexing
2020-06-24 14:41:11 +08:00
huangdongrun bc0455eaff * fix bool index
* change slice setitem to mixed procedure
* add testcase for slice assignment
2020-06-24 11:18:20 +08:00
Wei Luning 8f56528f8c add flags on function 2020-06-23 20:22:07 +08:00
jiangjinsheng a1e148cb4d vm for LRN and LRNGrad 2020-06-23 15:47:15 +08:00
jiangjinsheng 017ff492af vm for MatrixDiag,MatrixDiagPart.MatrixSetDiag 2020-06-22 20:24:51 +08:00
mindspore-ci-bot 932b7649e7 !2241 Adapting operator named AccumulateNV2
Merge pull request !2241 from zhangzheng/accumulate
2020-06-22 17:17:47 +08:00
zhangz0911gm 4ac1876237 Adapting AccumulateNV2 2020-06-21 22:49:09 -04:00
jiangjinsheng e71599b5ca vm for lin_space 2020-06-22 10:32:03 +08:00
xutianchun 2bfc86f5b7 Add aicpu op: ReverseSequence, CropAndResize, CTCLoss 2020-06-22 09:31:30 +08:00
pkuliuliu acf46bafbb add Normal op 2020-06-20 09:23:13 +08:00
buxue 2c9ca199ad support catch IndexError in C++ 2020-06-19 12:13:18 +08:00
mindspore-ci-bot b9ad407dc2 !2204 add check for tensor slice before convert to ops
Merge pull request !2204 from zhangbuxue/add_check_for_tensor_slice_before_convert_to_ops
2020-06-17 16:39:11 +08:00
buxue 61857b69ed add check for tensor slice before convert to ops 2020-06-17 15:32:41 +08:00
liuxiao df63a3195d fix input value check for SparseApplyFtrl and SparseApplyAdagrad 2020-06-17 13:05:09 +08:00
mindspore-ci-bot 6089d58d8d !2171 ssim input shape h and w should be greater than or equal to filter_size
Merge pull request !2171 from zhaozhenlong/fix-issues-quant-not-exposed-ssim-ksize-check
2020-06-16 18:53:45 +08:00
zhaozhenlong ea681bfb0f fix ssim filter size check 2020-06-16 17:32:35 +08:00
zhaozhenlong dbfb4f057c move AscendQuant AscendDequant to inner_ops.py 2020-06-16 17:25:26 +08:00
mindspore-ci-bot 71d27c6854 !2068 Add InplaceAddD and InplaceSubD vm ops
Merge pull request !2068 from liuwenhao/master
2020-06-16 11:00:32 +08:00
mindspore-ci-bot 105dcb1c1e !2128 hidden range
Merge pull request !2128 from jiangjinsheng/issue_fix3
2020-06-16 10:37:27 +08:00
mindspore-ci-bot ea96cbcef2 !1979 fix partial primitive poly node
Merge pull request !1979 from fary86/fix_patial_primitive_poly_code
2020-06-16 09:35:57 +08:00
liuwenhao4 be40a90ec6 add InplaceAddD and InplaceSubD vm ops 2020-06-16 09:29:11 +08:00
jiangjinsheng 032e921298 hidden range 2020-06-16 09:18:25 +08:00
mindspore-ci-bot 7b6f13886f !1962 add vm support for operators include ApproximateEqual, InplaceUpdateD and InTopKD
Merge pull request !1962 from zhouneng/add_vm_support_for_ApproximateEqual_InplaceUpdateD_InTopKD
2020-06-15 21:00:35 +08:00
zhaozhenlong ccda0f7b36 add op AscendQuant AscendDequant 2020-06-15 16:42:53 +08:00
fary86 ffa3352088 Fix partial primitive poly node 2020-06-15 10:56:55 +08:00
zhouneng 51fe3501a4 add vm support for ApproximateEqual, InplaceUpdateD and InTopKD. 2020-06-15 10:18:31 +08:00
mindspore-ci-bot b285c8fa9d !1973 develop TensorScatterUpdate op and access ge and vm
Merge pull request !1973 from zhangbuxue/develop_TensorScatterUpdate_op_and_access_ge_and_vm
2020-06-12 18:40:06 +08:00
buxue 8aee6b07d6 develop TensorScatterUpdate op and access ge and vm 2020-06-12 17:43:40 +08:00
mindspore-ci-bot a8378a3357 !1924 Add TBE ops ApplyAdaMax\ ApplyAdadelta\ ApplyAdagrad\ ApplyAdagradV2 for VM.
Merge pull request !1924 from liuxiao/ops-for-VM
2020-06-12 17:16:36 +08:00
lihongkang bbbd980728 add vm for histogramfixedwidth and dataformatdimmap 2020-06-12 09:34:58 +08:00
mindspore-ci-bot f859dfecc8 !1920 SupportPynativeIndexing
Merge pull request !1920 from amongo/SupportPynativeIndexing
2020-06-11 21:11:36 +08:00
huangdongrun 9522f59b87 support for tensor indexing in pynative
support tensor slice using constexpr

remove tensorslice metagraph

add pynative testcases
2020-06-11 19:14:22 +08:00
zhaozhenlong 562c2b8d3d sparse gather v2 2020-06-11 19:11:56 +08:00
liuxiao cda547e92f add tbe some ops about optimizer for vm 2020-06-11 12:35:00 +08:00
mindspore-ci-bot 7b7932ced9 !1944 move hook function to PrimitivePy class
Merge pull request !1944 from wangqiuliang/move-hook-function-to-primitivepy
2020-06-11 09:29:00 +08:00
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