Commit Graph

5146 Commits

Author SHA1 Message Date
mindspore-ci-bot a2ed1ad350 !15381 add parallel operator for select
From: @yangzhenzhang
Reviewed-by: @stsuteng,@kisnwang
Signed-off-by: @stsuteng
2021-04-20 11:23:52 +08:00
lanzhineng 65479c7646 while test cases 2021-04-20 10:22:30 +08:00
mindspore-ci-bot 23973aa830 !15366 Fix bug of memory access error when using input mask
From: @joylvliang
Reviewed-by: @chujinjin,@kisnwang
Signed-off-by: @kisnwang
2021-04-20 10:18:19 +08:00
lianliguang 4d7b7649e9 remove the useless PrimType 2021-04-20 10:16:36 +08:00
yangzhenzhang c2ca2232c5 add select op 2021-04-20 09:23:22 +08:00
mindspore-ci-bot eeb32f410e !15365 All the descriptions of batch normal under the mindspore folder have been uniformly updated to "Batch Normalization"
From: @dinglinhe123
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
2021-04-20 09:20:41 +08:00
mindspore-ci-bot 1c9d3c0aa0 !15353 add parallel operator for scatter update
From: @yangzhenzhang
Reviewed-by: @kisnwang,@stsuteng
Signed-off-by: @stsuteng
2021-04-20 09:03:08 +08:00
Cathy Wong 636809c255 dataset: C++ API ToNumber & Lookup: change data_type parm from string to DataType 2021-04-19 12:35:37 -04:00
liangzelang 971c2d3c6d [control flow]update st testcases for while bp 2021-04-19 17:37:03 +08:00
dinglinhe 865cf68243 All the descriptions of batch normal under the mindspore folder have been uniformly updated to 'Batch Normalization' 2021-04-19 16:37:51 +08:00
lvliang b67987d718 fix_bug_of_memory_access_error_when_using_input_mask 2021-04-19 15:34:30 +08:00
mindspore-ci-bot 4631facee9 !15140 Add GPU ops:depthtospace and spacetodepth
From: @kanghui0204
Reviewed-by: 
Signed-off-by:
2021-04-19 15:20:45 +08:00
mindspore-ci-bot 83b7f754bd !15255 add CPU IOU
From: @zhao_ting_v
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
2021-04-19 14:28:24 +08:00
kanghui 91cd3490e8 Add GPU ops:depthtospace and spacetodepth
Signed-off-by: kanghui <405194527@qq.com>
2021-04-19 01:56:44 +00:00
mindspore-ci-bot 0fd1726e79 !15172 Clean GraphKernel's codes from frontend
From: @dayschan
Reviewed-by: @gaoxiong1,@dylangeng,@gaoxiong1
Signed-off-by: @dylangeng,@dylangeng
2021-04-19 09:34:35 +08:00
zhaoting 2424ed7ee5 add CPU IOU 2021-04-17 17:34:25 +08:00
yangzhenzhang 9cdd70433f add scatterupdate op 2021-04-17 17:32:48 +08:00
yangzhenzhang d070af122f add topk op 2021-04-17 14:12:49 +08:00
dayschan 771e3f61f3 Clean GraphKernel's codes from frontend
1. set class GraphKernel as deprecated, and treat it as Cell
2. set class InplaceAssign as deprecated, suggested using Assign instead.
3. set op_selector as deprecated, removed the _selected_ops and _selected_grad_ops, replaced with real operations
4. removed the two passes of GraphKernel from frontend
5. removed the GraphKernel's codes from other modules
2021-04-17 11:03:34 +08:00
mindspore-ci-bot 29ab37d925 !14997 add scatter operations: ScatterAdd ScatterSub ScatterMul ScatterDiv ScatterMax ScatterMin ScatterUpdate
From: @dinglongwei
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
2021-04-17 10:35:56 +08:00
mindspore-ci-bot 5f2603ed93 !15216 Pybind11::object && PrimitivePy recycle optimize
From: @zhangzhaoju
Reviewed-by: @zh_qh,@hwhewei,@zh_qh
Signed-off-by: @zh_qh,@zh_qh
2021-04-17 09:38:16 +08:00
mindspore-ci-bot f9c5060cf2 !14930 Handle ignored returned Status
From: @hfarahat
Reviewed-by: @robingrosman,@pandoublefeng
Signed-off-by: @robingrosman
2021-04-17 03:52:41 +08:00
mindspore-ci-bot bd69a86931 !15124 Remove unused #include in cc files in MindData
From: @hfarahat
Reviewed-by: @nsyca,@mikef,@robingrosman
Signed-off-by: @robingrosman
2021-04-17 02:19:27 +08:00
mindspore-ci-bot 9c81c5d2a0 !15189 Add more ut for transform ops and subset sampler
From: @alexyuyue
Reviewed-by: 
Signed-off-by:
2021-04-17 01:46:13 +08:00
hesham 98f0f36a20 Removed unused include 2021-04-16 11:40:56 -04:00
hesham 6e6eaebb77 Fix unused return value in main code 2021-04-16 11:33:35 -04:00
mindspore-ci-bot 5b7ed56d57 !12521 [WIP] MindData C++ Plugin infrastructure with GDAL decode
From: @ziruiwu
Reviewed-by: 
Signed-off-by:
2021-04-16 20:37:18 +08:00
mindspore-ci-bot 0fe493e205 !15161 support hbm perfermance test
From: @laiyongqiang
Reviewed-by: @jjfeing,@majorzhang
Signed-off-by: @majorzhang
2021-04-16 20:28:40 +08:00
zhangzhaoju a1db9c4959 Pybind11::object && PrimitivePy recycle optimize 2021-04-16 18:32:55 +08:00
laiyongqiang de0f6edf5a support hbm profile 2021-04-16 18:01:31 +08:00
dinglongwei 7ec1793525 add cpu operations: ScatterAdd ScatterSub ScatterMul ScatterDiv ScatterMax ScatterMin ScatterUpdate 2021-04-16 16:46:36 +08:00
yangzhenzhang f9f5df368e add gathernd op 2021-04-16 14:29:03 +08:00
mindspore-ci-bot 4cc75df1ac !15221 Support PReLU for GPU platform
From: @xuguoyang5566
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
2021-04-16 11:45:35 +08:00
mindspore-ci-bot 053b04ae6e !15204 replace memcpy_async with tensor move
From: @laiyongqiang
Reviewed-by: @kisnwang,@jjfeing
Signed-off-by: @jjfeing
2021-04-16 10:19:40 +08:00
Zirui Wu 8ebc512d25 plugin infrastruture for mindddata
add single element string tensor support for plugin tensor
2021-04-15 21:11:16 -04:00
alex-yuyue 97e3232b6d Add more ut for transform ops and subset sampler
Signed-off-by: alex-yuyue <yue.yu1@huawei.com>
2021-04-15 16:51:41 -04:00
mindspore-ci-bot 17e42347fc !15191 dataset UT: Update UTs to check for return Status
From: @cathwong
Reviewed-by: @pandoublefeng,@tom__chen
Signed-off-by: @pandoublefeng
2021-04-16 02:16:39 +08:00
mindspore-ci-bot f09df9ac2f !15248 Fix shellcheck warnings for cache shell scripts
From: @lixiachen
Reviewed-by: @pandoublefeng,@robingrosman
Signed-off-by: @robingrosman
2021-04-15 22:47:06 +08:00
Lixia Chen 91f9059263 Fix shellcheck warnings 2021-04-15 09:33:07 -04:00
mindspore-ci-bot 56d0de9495 !15004 Adding SGD operator in CPU
From: @huangbo77
Reviewed-by: @wuxuejian,@oacjiewen
Signed-off-by: @wuxuejian
2021-04-15 20:09:21 +08:00
mindspore-ci-bot d45dae687c !15190 Add bool support to GPU Select
From: @TFbunny
Reviewed-by: @robingrosman,@tom__chen
Signed-off-by: @robingrosman
2021-04-15 19:53:31 +08:00
mindspore-ci-bot 121f8a7289 !15208 tensor setitem fix value with expanded dimensions before ellipsis & fix broadcast with value ndim < slice ndim
From: @jachua
Reviewed-by: @guoqi1024,@liangchenghui
Signed-off-by: @liangchenghui
2021-04-15 17:41:54 +08:00
xuguoyang 7d1a35bedb support PReLU for GPU platform 2021-04-15 16:29:38 +08:00
laiyongqiang 1533435015 replace memcpy_async with tensor move 2021-04-15 16:12:01 +08:00
mindspore-ci-bot 6d2c357db8 !15209 fix l2normalize ops parallel problem
From: @yuanwei66
Reviewed-by: @wuxuejian,@c_34
Signed-off-by: @wuxuejian,@c_34
2021-04-15 15:13:53 +08:00
huangmengxi 6cb17501d5 fix dim expand and broadcast 2021-04-15 14:25:13 +08:00
yuanwei66 ee9b452b57 fix l2normalize ops parallel problem 2021-04-15 13:37:26 +08:00
yangzhenzhang bcd2ecc403 check layouts for shared parameter 2021-04-15 10:39:05 +08:00
Cathy Wong a2ee0cb3e5 dataset UT: Update UTs to check for return Status 2021-04-14 17:52:31 -04:00
TFBunny b61e963b9f add bool support to gpu select 2021-04-14 11:49:01 -04:00
lingyunli63 c48c2430f0 fuse matmul and elementwise in graphkernel 2021-04-14 20:52:35 +08:00
huangbo77 cb54c6efae added SGD operation in CPU 2021-04-14 15:19:10 +08:00
mindspore-ci-bot d0b7c98743 !15072 numpy-native fix support of non tensor input for isin and reduce ufuncs
From: @jachua
Reviewed-by: @c_34,@guoqi1024
Signed-off-by: @c_34,@guoqi1024
2021-04-14 10:11:53 +08:00
mindspore-ci-bot d09844a601 !15127 Add type support for GPU TensorScatterUpdate
From: @TFbunny
Reviewed-by: @tom__chen,@robingrosman
Signed-off-by: @robingrosman
2021-04-14 05:37:22 +08:00
mindspore-ci-bot 9e7d25ff81 !15128 Add bool support to GPU Gather
From: @TFbunny
Reviewed-by: @tom__chen,@robingrosman
Signed-off-by: @robingrosman
2021-04-14 05:35:44 +08:00
mindspore-ci-bot 1d89109d19 !14929 Cleanup stale comments about DataBuffers
From: @hfarahat
Reviewed-by: @pandoublefeng,@robingrosman
Signed-off-by: @pandoublefeng
2021-04-14 05:33:40 +08:00
mindspore-ci-bot 727203a498 !14911 dataset: Fill op: C++ API support, UTs and Pybind decoupling
From: @cathwong
Reviewed-by: 
Signed-off-by:
2021-04-14 05:32:11 +08:00
TFBunny f6c9e90ad0 add bool support to gpu gather 2021-04-13 15:12:07 -04:00
TFBunny e3820ad2cb add tensor scatter update support different type inputs 2021-04-13 14:35:47 -04:00
Cathy Wong 7e6a03487e dataset: Fill op: C++ API support, UTs and Pybind decoupling 2021-04-13 10:02:39 -04:00
mindspore-ci-bot e2112c55f9 !15070 fix code review alarmsfix code review alarms
From: @shibeiji
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
2021-04-13 19:23:33 +08:00
mindspore-ci-bot 74ca49529a !14732 Add L2NormalizeGrad for CPU
From: @he-botao
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by:
2021-04-13 16:21:20 +08:00
mindspore-ci-bot cdbfa53568 !14547 support device_tensor creation
From: @zhupuxu
Reviewed-by: 
Signed-off-by:
2021-04-13 15:59:23 +08:00
mindspore-ci-bot 789c28d4d8 !14728 add l2normalize ops for cpu
From: @yuanwei66
Reviewed-by: 
Signed-off-by:
2021-04-13 15:12:51 +08:00
huangmengxi 571c25b998 bug fix 2021-04-13 14:59:35 +08:00
shibeiji 5cfab3b1a8 fix code review alarms 2021-04-13 14:56:47 +08:00
mindspore-ci-bot 3068d66d63 !14745 refactor infer value
From: @lianliguang
Reviewed-by: @ginfung
Signed-off-by:
2021-04-13 11:27:08 +08:00
mindspore-ci-bot e07a69d8f8 !14874 GNN dataset new feature
From: @lizhenglong1992
Reviewed-by: 
Signed-off-by:
2021-04-13 10:44:27 +08:00
yuanwei66 33870dc46d add l2normalize ops for cpu 2021-04-13 10:05:57 +08:00
hesham 15354569f2 Cleanup stale comments about DataBuffers 2021-04-12 14:26:59 -04:00
ms_yan ecb8d6bc08 add pil version cubic resize 2021-04-12 21:56:14 +08:00
LianLiguang bdc21bcf3e change infer value 2021-04-12 20:38:10 +08:00
zhupuxu 978d7512e7 device tensor
Signed-off-by: zhupuxu <zhupuxu@huawei.com>
2021-04-12 17:26:26 +08:00
mindspore-ci-bot fbbd52d54b !14947 Fix pylint issues in test_cont_break.py
From: @hwhewei
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-12 14:21:57 +08:00
hebotao a7b445c50c Add L2NormalizeGradCPUKernel
Add L2NormalizeGradCPUKernel 修改测试用例误差判断方式

Add L2NormalizeGradCPUKernel 注释调试信息

Add L2NormalizeGradCPUKernel 修改反向算子的计算公式

Add L2NormalizeGradCPUKernel 去掉 float16 的注册

Add L2NormalizeGradCPUKernel 使用相对误差

Add L2NormalizeGradCPUKernel 更新反向公式

Add L2NormalizeGradCPUKernel 删除调试信息

清除告警

Add L2NormalizeGradCPUKernel 添加测试用例

Add L2NormalizeGradCPUKernel 删除多余的函数

Add L2NormalizeGradCPUKernel 修改注释中的时间

Add L2NormalizeGradCPUKernel 格式化代码

Add L2NormalizeGradCPUKernel 格式化代码,修改 cpplint 问题

Add L2NormalizeGradCPUKernel 修改 cpplint,pylint 问题

Add L2NormalizeGradCPUKernel 修改求导函数,与 GPU 和 Ascend 保持一致。
修改后的公式在数学意义上有问题,但已经和武雪剑对齐,认为没有影响,没有必要要求 GPU 和 Ascend 修改代码。

Add L2NormalizeGradCPUKernel 精简测试用例
2021-04-12 11:41:40 +08:00
mindspore-ci-bot 7ae11f91e6 !14791 add ascend lstm test case
From: @woshixiaoli
Reviewed-by: @liangchenghui,@chujinjin
Signed-off-by: @liangchenghui
2021-04-12 10:36:35 +08:00
mindspore-ci-bot 5b4685c5ea !14604 [GraphKernel] add some expander ops
From: @chenlei_autodiff
Reviewed-by: 
Signed-off-by:
2021-04-12 10:33:53 +08:00
He Wei 92d60f4c6f Fix pylint issues in test_cont_break.py
Fix 'Useless super delegation in method __init__';
Also fix class naming problem.
2021-04-12 09:53:11 +08:00
mindspore-ci-bot ceb63371c2 !14792 add testcase for side_effect_expression
From: @woshixiaoli
Reviewed-by: @zh_qh,@hwhewei
Signed-off-by: @zh_qh
2021-04-12 09:13:39 +08:00
Zhenglong Li f3895f2b09 Add get edges from nodes function for gnn network 2021-04-10 18:31:13 +08:00
mindspore-ci-bot f0f7bf1ed1 !14885 fix: wrong input order
From: @jonyguo
Reviewed-by: @liucunwei,@heleiwang
Signed-off-by: @liucunwei
2021-04-10 16:52:41 +08:00
mindspore-ci-bot c907c95da5 !14849 fix codedex and bot
From: @fangzehua
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
2021-04-10 11:19:26 +08:00
mindspore-ci-bot 74f4c85315 !14750 Address some code issues in MD
From: @hfarahat
Reviewed-by: @robingrosman,@mikef
Signed-off-by: @robingrosman
2021-04-10 03:55:16 +08:00
mindspore-ci-bot f451625ea9 !14822 Fix cache client status reset and final flush
From: @lixiachen
Reviewed-by: @robingrosman,@mikef
Signed-off-by: @robingrosman
2021-04-10 03:55:07 +08:00
mindspore-ci-bot c682f91213 !14819 dataset: C++ API TypeCast: change data_type parm from string to DataType
From: @cathwong
Reviewed-by: @robingrosman,@mikef
Signed-off-by: @robingrosman
2021-04-10 03:54:49 +08:00
mindspore-ci-bot 1d2e37be88 !14888 add testcases related to if, fix codedex check
From: @huangbingjian
Reviewed-by: @zh_qh,@ginfung
Signed-off-by: @zh_qh
2021-04-09 23:29:59 +08:00
huangbingjian 8d64c11b8a add testcases related to if, fix codedex check 2021-04-09 18:04:32 +08:00
chenlei_autodiff 13fbfca6b9 [graph kernel] add expander ops. 2021-04-09 17:33:06 +08:00
jonyguo a5cc81dc97 fix: wrong input order in test_paddeddataset.py 2021-04-09 17:22:31 +08:00
mindspore-ci-bot 0920239699 !13475 [GraphKernel]adapt for layernorm in ascend
From: @wenfangpei
Reviewed-by: @gaoxiong1,@anyrenwei
Signed-off-by: @anyrenwei
2021-04-09 17:04:52 +08:00
fangzehua 742aa799b0 fix codedex and bot 2021-04-09 15:01:11 +08:00
mindspore-ci-bot 018617a091 !14794 fix test case bug
From: @woshixiaoli
Reviewed-by: @zichun_ye,@sunnybeike
Signed-off-by: @zichun_ye
2021-04-09 14:24:56 +08:00
hesham 97cf4e516e Address 3 code issues:
1- access out of bound memory in toFlatIndex
2- CreateFromNPArray function is 50>
3- duplicate variable init
2021-04-08 21:50:19 -04:00
mindspore-ci-bot d7dcbd4944 !14698 Completion of test cases
From: @majianwei_hvv
Reviewed-by: @wuxuejian,@liangchenghui
Signed-off-by: @wuxuejian
2021-04-09 09:34:25 +08:00
mindspore-ci-bot 32f92eecbd !14805 [ME][ControlFlow] Add some control sink testcases
From: @Margaret_wangrui
Reviewed-by: @ginfung,@zh_qh
Signed-off-by: @zh_qh
2021-04-09 09:18:24 +08:00
Lixia Chen 1f2b178a16 Reset CacheClient's status for a new run
Turn off lock only after all data is cached
2021-04-08 15:30:48 -04:00
Cathy Wong 82f4b3f757 dataset: C++ API TypeCast: change data_type parm from string to DataType 2021-04-08 11:47:58 -04:00
mindspore-ci-bot bdc5a9c88b !14579 TensorOp decoupling stage 3 (transform ops)
From: @alexyuyue
Reviewed-by: 
Signed-off-by:
2021-04-08 21:41:26 +08:00
Margaret_wangrui e69ead3f19 add some control sink testcases 2021-04-08 20:21:45 +08:00
wenfangpei 66d28af79e adapt for layernorm in ascend 2021-04-08 18:11:59 +08:00