Commit Graph

4041 Commits

Author SHA1 Message Date
Henry Shi 63bd6f035b operators:Softmin & SiLU 2022-05-29 10:42:31 +08:00
Zhang Qinghua 31ab2accae Add Parameter input test cases, remove side effect propagate for Identity op, and fix compile performance problem. 2022-05-28 21:03:42 +08:00
i-robot d70fe9e7da
!34805 support const iterator For
Merge pull request !34805 from 于振华/rewrite_for_unfold_0518
2022-05-28 08:45:22 +00:00
NBUFabio 6c9f39c47e [feat] [assistant] [I54KH8] [I54KHA] add new operator Relu and ReluGrad 2022-05-28 15:06:21 +08:00
i-robot 6658de4ed6
!33765 [assistant][ops] Add NonZero
Merge pull request !33765 from 张渝/NonZero
2022-05-28 06:31:14 +00:00
lianliguang 7819fab99c fix bug of calculate slice size 2022-05-28 14:10:59 +08:00
lianliguang ca7bbe7828 fix bug of tuple value is not convert all tuple 2022-05-28 12:32:13 +08:00
Xiao Tianci f34f053aea add PadToSize transform 2022-05-28 11:07:51 +08:00
Arielxyx db3fa41c30 [feat][assistant][I4XJFZ] add new function Mv 2022-05-28 11:04:54 +08:00
liutongtong f6c8053c2b add model.fit and refactor callbacks 2022-05-28 10:33:39 +08:00
YangLuo 4e31675447 fix-output_shape_doc 2022-05-28 10:03:46 +08:00
bsx 5f855ed8ea [feat][assistant][I4XJG6] add new Ascend operator Isreal 2022-05-28 08:57:29 +08:00
i-robot 8f57454372
!35028 [MD] Fix hanging problem in offload
Merge pull request !35028 from h.farahat/offload_hang
2022-05-27 17:25:06 +00:00
David 5f1849fd1c Added docs to ut part 2 2022-05-27 09:05:14 -04:00
i-robot 3aea6a2e0b
!35030 Allow the Parameter object as a construct/ms_function parameter type.
Merge pull request !35030 from 张清华/opt3
2022-05-27 12:35:07 +00:00
i-robot 43b5ad6f12
!34901 Add flatten for flat_map
Merge pull request !34901 from xiaotianci/fix_flat_map
2022-05-27 03:37:01 +00:00
hesham 23e85ff083 avoid hangs when offload is true with pyfuncs and dict iterator 2022-05-26 23:16:16 -04:00
wulizzya eff3df5289 [feat] [assistant] [I48OF3] Add AICPU operator NonZero 2022-05-27 11:01:34 +08:00
i-robot 64b0c6444d
!34863 KLDivLoss for NPU
Merge pull request !34863 from xulei/kldiv
2022-05-27 02:33:17 +00:00
i-robot b0ccca4e1e
!32826 add new Ascend operator ScatterNdMax
Merge pull request !32826 from 袁忠蜜/ScatterNdMax
2022-05-27 02:31:31 +00:00
i-robot c61835ffa0
!34953 [MD] Update import transforms statements in dataset UT
Merge pull request !34953 from cathwong/ckw_xtranuni_ut_import_dataset
2022-05-26 17:54:44 +00:00
yuzhenhua ec1e152e17 for const iterator For 2022-05-26 19:23:46 +08:00
xulei c85bb89088 KLDivLoss for NPU 2022-05-26 16:55:16 +08:00
i-robot e65fe8fabe
!32163 [assistant][ops] Add new Deg2Rad
Merge pull request !32163 from wxy220/Deg2Rad
2022-05-26 08:21:18 +00:00
Zhang Qinghua 9e1d8627e5 Allow the Parameter object as a construct/ms_function parameter type. 2022-05-26 14:41:00 +08:00
Xiao Tianci c564e840fb add flatten in flat_map 2022-05-26 11:17:32 +08:00
Cathy Wong b9396a32b7 [MD] Update import transforms statements in dataset UT 2022-05-25 19:51:26 -04:00
i-robot 797c21ec6c
!34539 [MD] Transform Unification: Phase 1C - Minor Code and UT Updates
Merge pull request !34539 from cathwong/ckw_xtranuni_code3_typecast
2022-05-25 18:05:40 +00:00
i-robot f3148dbe6e
!34842 add nn.Threshold
Merge pull request !34842 from 吕昱峰(Nate.River)/threshold
2022-05-25 09:35:33 +00:00
i-robot f1513a6580
!34684 fix bug of mutiple slice net report error when the length is not equal
Merge pull request !34684 from lianliguang/master
2022-05-25 06:11:32 +00:00
i-robot 1ecc6538d1
!34537 output_shape add param estimate
Merge pull request !34537 from luoyang/dynamic_outputshape
2022-05-25 02:37:32 +00:00
Cathy Wong b8e7c2acaf [MD] Transform Unification: Phase 1C - Minor Code Fixes and UT Updates 2022-05-24 22:24:38 -04:00
i-robot 7676d9958b
!34608 [MD] Adding docstrings for minddata UT Python
Merge pull request !34608 from davidanugraha/add_dataset_test_comment
2022-05-25 02:10:32 +00:00
i-robot 291b5faa98
!33925 parallel_initializer_seed
Merge pull request !33925 from yao_yf/auto_parallel_initializer_seed
2022-05-25 02:03:16 +00:00
David ee0a815990 Added docs for ut files 2022-05-24 17:43:53 -04:00
“yzm” af9a3f23d5 [feat] [assistant] [I471DO] add new Ascend operator ScatterNdMax 2022-05-24 21:50:29 +08:00
i-robot 1ade2e9f25
!34235 [assistant][MelScale]
Merge pull request !34235 from QingfengLi/MelScale
2022-05-24 12:08:00 +00:00
lianliguang db6be8d1c8 fix bug of eliminate slice node 2022-05-24 17:40:54 +08:00
i-robot 2bdc633d3f
!34688 fix bug for if_parser
Merge pull request !34688 from hangq/rewrite-bug
2022-05-24 09:18:42 +00:00
i-robot f5eb987e42
!32742 [assistant][ops] Add SegmentMax, SegmentMin, SegmentSum
Merge pull request !32742 from 梁天凯/SegmentMax
2022-05-24 08:45:37 +00:00
qkeys f475205a48 [feat][assistant][I4XJGA] add new Ascend operator Deg2Rad 2022-05-24 15:51:34 +08:00
lvyufeng ce1f15666d add nn.Threshold 2022-05-24 15:25:48 +08:00
YangLuo e1df0d9688 output_shape add param estimate 2022-05-24 09:09:30 +08:00
i-robot 4f0b1dc60e
!34511 Add CPU support for KLDivLoss op
Merge pull request !34511 from zhuyuxiao/I51VMV
2022-05-23 11:06:37 +00:00
i-robot a3e00bd637
!32546 [feat] [assistant] [I4CRKO] [I4CRKP] add nn operator AvgPoolV1 and AvgPoolGradV1
Merge pull request !32546 from Seeker98/0405_a
2022-05-23 09:07:59 +00:00
bubtltk ae98f004ba add SegmentMax, SegmentMin, SegmentSum 2022-05-23 16:16:24 +08:00
chenx2ovo d62655e199 [fix] [assistant] [I4ZOCP] add validation for input param 2022-05-23 16:06:50 +08:00
hangangqiang 2ba3c8e1e1 fix bug for if_parser 2022-05-23 15:22:24 +08:00
i-robot dd85238b91
!34579 set uni folder for ge test
Merge pull request !34579 from xiaoyao/master
2022-05-23 07:20:37 +00:00
i-robot c986240c5c
!32350 [assistant][ops] Add new Exp2
Merge pull request !32350 from wxy220/Exp2
2022-05-23 06:51:56 +00:00
i-robot e696692b0e
!31248 [assistant][ops]Add GridSampler2D and GridSampler2DGrad
Merge pull request !31248 from 马振浩/gridsampler2d
2022-05-23 06:49:09 +00:00
yao_yf 91dabdce17 parallel initializer seed set 2022-05-23 14:24:29 +08:00
i-robot d70e95012c
!34730 ops whitelist amendment after code viewing
Merge pull request !34730 from 李林杰/ops_whitelist_amend
2022-05-23 02:01:35 +00:00
lilinjie 1891cbf483 ops whitelist amendment aafter code viewing 2022-05-22 21:09:05 +08:00
Seeker 76bf418279 Add aicpu op AvgPoolV1 and AvgPoolGradV1 2022-05-22 18:46:54 +08:00
pikapika 3e978302ca exp2 2022-05-22 10:36:45 +08:00
i-robot 79f41f957c
!34614 Support fusion_size argument for flatten_weights
Merge pull request !34614 from hewei/flatten_weights
2022-05-21 15:04:59 +00:00
mareda 77a6ea3aba Add GridSampler2D and GridSampler2DGrad. 2022-05-21 17:05:34 +08:00
i-robot 1e540e53ed
!34401 [assistant][RangeV2] add RangeV2
Merge pull request !34401 from 李文轼/rangev2
2022-05-21 07:51:38 +00:00
i-robot 2dcae73a2b
!31575 [assistant][ops] Add new LogAddExp
Merge pull request !31575 from wxy220/LogAddExp
2022-05-21 03:05:52 +00:00
liwenshi d896ae30db [feat][assistant][I4CRJU] add RangeV2 for Ascend and cpu 2022-05-20 19:37:25 +08:00
He Wei 2d7c4334ec Support fusion_size argument for flatten_weights 2022-05-20 17:11:48 +08:00
zhuyuxiao ce16351d16 add CPU support for KLDivLoss op 2022-05-20 15:34:31 +08:00
jonyguo 0718a283c8 filter dumplicate log from python operation 2022-05-20 14:46:46 +08:00
Arielxyx 44543ad95c [feat][assistant][I4XJG1] add new function LogAddExp 2022-05-20 14:37:32 +08:00
i-robot 421cbf82f4
!31810 [assistant][ops] Add new LogAddExp2
Merge pull request !31810 from wxy220/LogAddExp2
2022-05-20 03:08:03 +00:00
i-robot 9b0d37c7e7
!34657 support const-test if
Merge pull request !34657 from hangq/rewrite-pr
2022-05-20 01:55:52 +00:00
i-robot 71f2ee7172
!34555 [AutoParallel]Parallel_adapt_simple_control_flow
Merge pull request !34555 from lichen/adapt_control_flow
2022-05-20 01:31:48 +00:00
i-robot 527539ef7c
!34409 unsorted segment prod gpu inference
Merge pull request !34409 from ling/core
2022-05-20 01:20:54 +00:00
i-robot 67033817ff
!34295 Optimiz lamb ascend kernel
Merge pull request !34295 from wanghenchang/lamb-optimiz-ascend
2022-05-20 01:20:25 +00:00
xiao_yao1994 fbdfdb1127 "change default backend in debug graph mode and set uni folder for ge
test"
2022-05-20 09:12:03 +08:00
i-robot 20f3a911f1
!34094 Remove the context option: 'enable_sparse'.
Merge pull request !34094 from 张清华/opt
2022-05-20 00:52:05 +00:00
i-robot b5249cdedd
!33734 [assistant][ops] Add other operator SampleDistortedBoundingBoxV2
Merge pull request !33734 from 孟权令/SampleDistortedBoundingBoxV2
2022-05-19 13:39:35 +00:00
i-robot 55e8fdf518
!34583 fix bug of list assign when step is negative
Merge pull request !34583 from lianliguang/master
2022-05-19 12:19:11 +00:00
wangchangheng 6c879b5554 optimize lamb 2022-05-19 19:18:16 +08:00
ling 437deb9da2 unsorted segment prod gpu inference 2022-05-19 18:59:19 +08:00
hangangqiang 41e4d93ddd support const-test if 2022-05-19 18:57:29 +08:00
Arielxyx dcb7526105 [feat][assistant][I4XJGJ] add new function LogAddExp2 2022-05-19 17:41:15 +08:00
Zhang Qinghua d7762f1c8d Add bprop_return_sparse flag for sparse bprop primitive and remove context option: 'enable_sparse'. 2022-05-19 17:31:57 +08:00
i-robot f47f97d24b
!33963 Modify ChcekPoint
Merge pull request !33963 from liuyang/ms_master
2022-05-19 08:30:22 +00:00
wangshengnan12@huawei.com 48065b72a1 adapt_control_flow 2022-05-19 15:50:29 +08:00
i-robot 9edf52d71f
!34559 [feat] [assistant] [ops] [I51VS2] Add new operator nn.AdaptiveMaxPool1d
Merge pull request !34559 from fujianzhao/adaptive_max_pool_1d
2022-05-19 07:48:34 +00:00
Sawyer 731ef7be93 [feat][assistant][I3T92K] add new other operator SampleDistortedBoundingBoxV2 2022-05-19 15:29:11 +08:00
i-robot f43b686e61
!34398 fix rewrite bug
Merge pull request !34398 from 于振华/rewrite_it1_fix_01
2022-05-19 01:31:15 +00:00
i-robot 77726dd5eb
!34567 fix bug in class_def_parser
Merge pull request !34567 from hangq/rewrite-pr
2022-05-19 01:20:10 +00:00
lianliguang 5699ef7b03 fix bug of list slice assign when step value is negative 2022-05-19 09:17:47 +08:00
hangangqiang d910b1929a fix bug in class_def_parser and quant.py 2022-05-18 16:36:34 +08:00
yuzhenhua 63a167b39d fix rewrite it1 bug 2022-05-18 15:58:17 +08:00
liuyang_655 6508fd317f fixed conflicts
modify test
2022-05-18 03:52:08 -04:00
fujianzhao 7fcb75beaa [feat] [assistant] [ops] [I51VS2] Add new operator nn.AdaptiveMaxPool1d 2022-05-18 15:50:44 +08:00
i-robot d21686c2fe
!32951 [feat] [assistant] [I48O56] Add new aicpu operator AdjustSaturation
Merge pull request !32951 from 陈慧敏/AdjustSaturation
2022-05-18 07:10:53 +00:00
i-robot d2a5df9950
!34351 Change class Variable to mutable function
Merge pull request !34351 from YuJianfeng/mutable
2022-05-18 01:32:05 +00:00
王超 50271da74b [feat] [assistant] [I48O56] Add new aicpu operator AdjustSaturation 2022-05-17 19:30:17 +08:00
i-robot 4a8bb274f7
!31634 [assistant][ops][I48O58] Add DenseToCSRSparseMatrix Operator
Merge pull request !31634 from 李定维/DenseToCSRSparseMatrix
2022-05-17 11:12:50 +00:00
i-robot 17fb1b2ea4
!34468 fix typecast on validate string
Merge pull request !34468 from luoyang/fix_typecast
2022-05-17 11:03:33 +00:00
i-robot bae2b79896
!34428 [feat] [assistant] [ops] [I51VS1] Add new operator nn.AdaptiveAvgPool1d
Merge pull request !34428 from fujianzhao/adaptive_avg_pool_1d
2022-05-17 03:27:30 +00:00
i-robot 8ed228063c
!30343 [feat] [assistant] [I48O5X] Add new aicpu operator AdjustContrastv2
Merge pull request !30343 from 魏铭宏/AdjustContrastv2
2022-05-17 02:58:18 +00:00
i-robot 175350c1c8
!33816 initial_epoch for model train
Merge pull request !33816 from changzherui/add_initial_epoch
2022-05-17 02:55:26 +00:00
i-robot d2c496e81f
!34301 add reminder for pipeline parallel
Merge pull request !34301 from bichaoyang/master
2022-05-17 01:20:04 +00:00
luoyang bc4d57018c fix typecast on validate string 2022-05-16 23:21:06 +08:00
liruoxuan 78cff1394a [assistant][ops][I48O58] Add DenseToCSRSparseMatrix Operator 2022-05-16 17:52:09 +08:00
whitewings 98ec2f6d4a [feat][ops][I48O5X]Add new image operator AdjustContrastv2 2022-05-16 16:29:14 +08:00
fujianzhao cb56dd895d [feat] [assistant] [ops] [I51VS1] Add new operator nn.AdaptiveAvgPool1d 2022-05-16 16:19:24 +08:00
changzherui 43552f6568 initial epoch for model train 2022-05-16 11:47:16 +08:00
bichaoyang 98d4b75d1b reminder when missing 'pipeline_end' 2022-05-16 11:11:00 +08:00
yujianfeng d855c830d2 Change class Variable to mutable function 2022-05-16 09:05:32 +08:00
hangangqiang f14647077b remove unused fields in __init__ function 2022-05-15 17:11:05 +08:00
hangangqiang 09a2c2e0dd fix rewrite bugs 2022-05-14 20:27:37 +08:00
i-robot c8bd35320b
!34346 fix rewrite bugs
Merge pull request !34346 from hangq/rewrite-bug
2022-05-14 02:56:26 +00:00
i-robot 4cde40189c
!34321 [MD] Normalize md5 tests - new golden files, unskip tests
Merge pull request !34321 from cathwong/ckw_xtransuni_ut_new_golden_unskip_md5
2022-05-13 21:00:38 +00:00
hangangqiang d6ddd1d49a fix rewrite bugs 2022-05-13 17:31:17 +08:00
i-robot 2427626f10
!34250 Return -1 as unknown batch size for callable batch_size param
Merge pull request !34250 from luoyang/get_batch_size
2022-05-13 06:45:07 +00:00
i-robot c07819796c
!34221 [feat] [assistant] [ops] [I51VSC] Add new operator nn.HuberLoss
Merge pull request !34221 from fujianzhao/huberloss
2022-05-13 02:57:19 +00:00
i-robot bfd377ca3c
!34125 add nn.ConstantPad1d nn.ConstantPad2d nn.ConstantPad3d and nn.ZeroPad2d
Merge pull request !34125 from ZhidanLiu/master
2022-05-13 01:53:23 +00:00
Cathy Wong 1caa2012bb [MD] Normalize md5 tests - new golden files, unskip tests 2022-05-12 16:02:36 -04:00
Cathy Wong 942001ffc6 [MD] Tranform Unification - skip normalize md5 tests 2022-05-12 12:56:01 -04:00
i-robot 8d44248535
!34199 [MD] Transforms Unificiation Feature - Phase 1B - Minor Code Fixes and UT Updates
Merge pull request !34199 from cathwong/ckw_xtranuni_code2_cutout_totensor
2022-05-12 13:51:00 +00:00
i-robot 887db57434
!32859 [assistant][ops]Add GetImageSize
Merge pull request !32859 from yangwm/size
2022-05-12 11:38:42 +00:00
luoyang 3cb854abc7 Return -1 as unknown batch size for callable batch_size param 2022-05-12 15:38:08 +08:00
i-robot 4d8ef64c11
!33931 [feat] [assistant] [ops] [I51VSB] Add new operator nn.Hardtanh
Merge pull request !33931 from fujianzhao/dev
2022-05-12 06:40:03 +00:00
i-robot 5e5606e82f
!33193 [assistant][ops]New operator implementation, include igamma igammac igammagrad
Merge pull request !33193 from ganqijun/ig
2022-05-12 03:44:53 +00:00
fr199787 9e5eb88799 [faet] [assistant] [I4S2FH] add new operator GetImageSize 2022-05-12 11:17:38 +08:00
ZhidanLiu fdd6f7c759 add nn.ConstantPad1d nn.ConstantPad2d nn.ConstantPad3d and nn.ZeroPad2d 2022-05-12 10:34:52 +08:00
i-robot 5cdfc094fb
!32695 [feat] [assistant] [I4CRKM] [I4CRKN] add nn operator MaxPoolV1 and MaxPoolGradV1
Merge pull request !32695 from Seeker98/0407_m
2022-05-12 02:20:27 +00:00
i-robot 5e31a54cbb
!32787 [assistant][ops]Add GetImageNumChannels
Merge pull request !32787 from yangwm/channels
2022-05-12 02:07:12 +00:00
Cathy Wong d08846176b [MD] Transforms Unificiation Feature - Phase 1B - Minor Code Fixes and UT updates 2022-05-11 16:21:35 -04:00
Seeker aa0dc155fb add aicpu op MaxPoolV1 MaxPoolGradV1 2022-05-11 17:42:12 +08:00
fujianzhao 4fd3433d23 [feat] [assistant] [ops] [I51VSC] Add new operator nn.HuberLoss 2022-05-11 15:39:02 +08:00
fakeen 7380756a0f igamma 2022-05-11 15:23:33 +08:00
fujianzhao 5bb57674da [feat] [assistant] [ops] [I51VSB] Add new operator nn.Hardtanh 2022-05-11 14:23:11 +08:00
i-robot a0a9c942c8
!33956 Add a nn cell for softsign.
Merge pull request !33956 from liqiliang/softsign-cpu
2022-05-11 03:15:10 +00:00
i-robot dbb05a92ea
!33962 fix: md AddressSanitizer
Merge pull request !33962 from guozhijian/fix_md_AddressSanitizer
2022-05-11 03:03:53 +00:00
i-robot 3aca62f878
!33338 [assistant][ops][I48O5W] Add new AdjustHue operator
Merge pull request !33338 from 邹天宇/AdjustHue
2022-05-11 01:51:49 +00:00
i-robot e8338c473e
!32779 [assistant][ops]New operator implementation, include DataFormatVecPermute
Merge pull request !32779 from 梁秀波/DataFormatVecPermute
2022-05-11 01:51:05 +00:00
i-robot fdb9c9cdd7
!31727 [assistant][ops] Add new Identity
Merge pull request !31727 from wxy220/Identity
2022-05-10 15:50:17 +00:00
jonyguo 8ba8c930e7 fix: md AddressSanitizer 2022-05-10 18:45:42 +08:00
zoutianyu 9224212dad [assistant][ops][I48O5W]Add new image operator AdjustHue 2022-05-10 18:32:47 +08:00
i-robot 035de460b6
!33293 [assistant][ops]New operator implementation, include zeta
Merge pull request !33293 from ganqijun/zeta
2022-05-10 10:17:39 +00:00
liqiliang 0fabbc4ccb Add a nn cell for softsign. 2022-05-10 17:09:33 +08:00
Wang Yao 53071e5896 [feat][assistant][I48O6B] add new Ascend operator DataFormatVecPermute 2022-05-10 15:28:14 +08:00
i-robot 1cc49698ed
!33983 primitive support str.format
Merge pull request !33983 from lianliguang/primitive-support-str-format
2022-05-10 07:18:34 +00:00
i-robot 818a1422c7
!33169 [assistant][ops]New operator implementation, include BesselJ0 and BesselJ1
Merge pull request !33169 from 张璇/BesselJ0
2022-05-10 03:45:28 +00:00
echo a02e959f1c [assistant][ops]New operator implementation, include zeta 2022-05-10 10:34:46 +08:00
i-robot 5b00105ce2
!34064 unify format under dir python/mindspore/nn & ops
Merge pull request !34064 from 李林杰/format_py
2022-05-10 01:34:52 +00:00
shenyu d69c2ce0d1 [feat] [assistant] [I4S2FG] add new operator GetImageNumChannels 2022-05-09 22:32:05 +08:00
i-robot ac58831c9a
!33744 add specify_prefix for load_checkpoint
Merge pull request !33744 from changzherui/add_specify_prefix
2022-05-09 07:56:52 +00:00
i-robot 6b385fe951
!34006 add ut/st for TensorScatter ops in ascend
Merge pull request !34006 from yuchaojie/op_dev2
2022-05-09 06:50:47 +00:00
lianliguang bd619120ac support cell and primitive for str.format 2022-05-09 09:21:06 +08:00
i-robot efe40a1ffc
!32412 [assistant][ops] Add Trace
Merge pull request !32412 from 张渝/trace
2022-05-07 10:04:29 +00:00
yuchaojie df39a2fc82 add ut/st for TensorScatter ops in ascend 2022-05-07 16:44:13 +08:00