Commit Graph

1373 Commits

Author SHA1 Message Date
mindspore-ci-bot d6cc7089fc !1888 Add cpu kernel implement of sparse adam
Merge pull request !1888 from YuJianfeng/adam
2020-06-10 10:38:31 +08:00
lilei 36d9e353a5 add proximal_ada_grad optimizer 2020-06-10 09:21:36 +08:00
mindspore-ci-bot 0903428296 !1946 [AutoParallel]Remove resnet50 st
Merge pull request !1946 from lichen/remove_autoparallel_st
2020-06-10 09:15:10 +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
mindspore-ci-bot 5eb95599f6 !1874 Updates to string tensor
Merge pull request !1874 from h.farahat/string_tensor_updates
2020-06-10 00:59:17 +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
Tinazhang c3de5c7a54 adding new TCs to six ops and skip md5 case in RandomPerspective 2020-06-09 10:51:45 -04:00
hesham f837ddc956 - Bug when empty strings sent to Python
- Support accepting Numpy of str as input
- Support batching strings
- Core logic of batch&pad is static
- Make Pad a utility function
2020-06-09 10:34:38 -04:00
yujianfeng c956dfff51 Add SparseAdam and SparseLazyAdam cpu kernel 2020-06-09 22:24:38 +08:00
Wei Luning ee8420aefa Make assign operator to use the signature. 2020-06-09 21:12:56 +08:00
lichenever fad6b5744c remove auto parallel st 2020-06-09 21:11:09 +08:00
yoonlee666 ab36f3d3cd edit example script 2020-06-09 20:59:32 +08:00
zhaoting b16a552d41 Revert "Revert "add pattern AdjustAllReduceMulAdduse the old opadd test case for bugtemp fix try""
This reverts commit 705c71a257.
2020-06-09 20:56:36 +08:00
mindspore-ci-bot beb714d2d0 !1911 add a function to charge the node input and output is a scalar
Merge pull request !1911 from lianliguang/add-a-function-to-charge-the-node-input-or-output-if-is-a-scalar
2020-06-09 19:57:01 +08:00
mindspore-ci-bot c4b3534913 !1905 update cpu lstm
Merge pull request !1905 from baihuawei/cpulstm
2020-06-09 19:37:34 +08:00
mindspore-ci-bot 39338c8627 !1101 Add GCN training scripts
Merge pull request !1101 from chentingting/gcn
2020-06-09 19:11:07 +08:00
baihuawei 9c74e39b12 update cpu lstm 2020-06-09 17:53:56 +08:00
chentingting e801d48906 add gcn training scripts 2020-06-09 16:19:25 +08:00
liuxiao 6856c2ac7a Adapt ops ApplyProximalAdagrad for GE 2020-06-09 14:20:21 +08:00
mindspore-ci-bot cf04a7b190 !1741 summary support cpu
Merge pull request !1741 from wenkai/wk1_cpu_summary_0531
2020-06-09 14:17:23 +08:00
yujianfeng 2ff9e74d07 Add unique process for duplicated indices 2020-06-09 10:12:39 +08:00
mindspore-ci-bot 5499161531 !1862 fixed validator for ApplyRMSProp,CumProd, CumSum,ReduceProd etc
Merge pull request !1862 from jiangjinsheng/issue_doc
2020-06-09 09:57:22 +08:00
wenkai ab6b6add0b cpu support summary 2020-06-09 09:51:28 +08:00
WilliamLian 9808e47663 change checkAicpu to CheckAICPU & add charge Scalar function to charge the input or output is scalar 2020-06-09 09:31:43 +08:00
mindspore-ci-bot 69cbf58517 !1902 Fix bert scripts.
Merge pull request !1902 from chenhaozhe/fix-bert-scripts
2020-06-08 20:11:37 +08:00
chenhaozhe 1be7ad52bb fix bert scripts 2020-06-08 19:23:36 +08:00
mindspore-ci-bot 10fd781b15 !1831 Add order parameter function in group params
Merge pull request !1831 from ghzl/add-oder-parameters-in-group-functions
2020-06-08 17:38:43 +08:00
jiangjinsheng 51affc2f1b fixed validator for CumProd, ReduceProd, ApplyRMSProp 2020-06-08 16:49:14 +08:00
mindspore-ci-bot b350ee0c00 !1824 add single batchnorm fission pass
Merge pull request !1824 from huanghui/single-batchnorm-fission-pass
2020-06-08 11:35:45 +08:00
mindspore-ci-bot c82a8bf483 !1678 modify print
Merge pull request !1678 from jinyaohui/print
2020-06-08 11:20:53 +08:00
guohongzilong 85a06b00c6 add order function in group params 2020-06-08 11:09:18 +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
huanghui b4c0ed4b36 add signle batchnorm fission pass 2020-06-08 10:08:23 +08:00
yao_yf ce03ce5af2 data_parallel_grad_reducer 2020-06-08 09:12:14 +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
mindspore-ci-bot 65eacc9593 !1787 optimize transdata for pynative mode
Merge pull request !1787 from chujinjin/optimize_transdata_for_pynative
2020-06-05 14:49:20 +08:00
mindspore-ci-bot 1c640face9 !1826 fix bug when check learning_rate in AdamWeightDecayDynamicLR
Merge pull request !1826 from wangnan39/fix_lr_check_bug_in_adamweightdecay_dynamic_lr
2020-06-05 14:35:20 +08:00
chujinjin 7465abc798 optimize transdata for pynative 2020-06-05 14:10:55 +08:00
mindspore-ci-bot bd34c6ec8b !1853 Fix initializer
Merge pull request !1853 from amongo/FixInitializer
2020-06-05 11:46:20 +08:00
mindspore-ci-bot 1973594bd1 !1774 [MD] minddataset support padding samples
Merge pull request !1774 from liyong126/mindrecord_padded_sample
2020-06-05 11:27:25 +08:00
mindspore-ci-bot b236beae28 !1615 convert constant bool tensor to bool
Merge pull request !1615 from amongo/GetBoolValueFromConstantTensor
2020-06-05 09:46:44 +08:00
mindspore-ci-bot 197251eb66 !1838 Add SparseApplyFtrl cpu kernel
Merge pull request !1838 from YuJianfeng/master
2020-06-05 09:45:47 +08:00
liyong feff8899ac support padding samples 2020-06-05 09:14:42 +08:00
mindspore-ci-bot c51d90d84e !1767 Move LayerNormGrad split pass ahead of kernel select
Merge pull request !1767 from huanghui/LayerNormGrad-split-pass
2020-06-05 09:13:24 +08:00
mindspore-ci-bot 5c21616293 !1807 Implemented Ngram TensorOp for dataset
Merge pull request !1807 from ZiruiWu/ngram_dev
2020-06-05 01:04:27 +08:00
huangdongrun 9081041199 fix initiliazer 2020-06-04 22:22:41 +08:00
mindspore-ci-bot 769ae609b4 !1808 consistent design for num_samples
Merge pull request !1808 from Jamie/numsamples
2020-06-04 22:12:55 +08:00
yujianfeng 5d4b75838f Add SparseApplyFtrl cpu kernel 2020-06-04 22:06:39 +08:00
Zirui Wu dbf9936ec4 Implemented n-gram for dataset TensorOp 2020-06-04 09:57:44 -04: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
mindspore-ci-bot fac6c56db5 !1851 Add batch norm fusion pattern for mix precision
Merge pull request !1851 from YuJianfeng/bn_cast
2020-06-04 21:31:43 +08:00
mindspore-ci-bot 063ad7c7f0 !1810 optimize slice/slicegrad performance
Merge pull request !1810 from sunsuodong/optimize_performance
2020-06-04 21:07:20 +08:00
jinyaohui 5e43edc474 clean pylint 2020-06-04 21:03:30 +08:00
yujianfeng e87ac6525e Add batch norm fusion pattern for mix precision 2020-06-04 20:31:15 +08:00
mindspore-ci-bot 97524b9ddd !1823 support vm for ConfusionMatrix
Merge pull request !1823 from jiangjinsheng/vm_ConfusionMatrix
2020-06-04 20:04:19 +08:00
huanghui cf87218fb7 place layernormgrad split pass before kernel select 2020-06-04 19:39:40 +08:00
chenjianping af8108c9e1 support host reduce scatter and allgather 2020-06-04 17:20:47 +08:00
sunsuodong 78787931e1 optimize performance 2020-06-04 16:20:51 +08:00
jiangjinsheng fc4cf5a470 add vm support for ConfusionMatrix 2020-06-04 14:12:13 +08:00
mindspore-ci-bot 0c1674496f !1819 Restricting modify non_Parameter class members
Merge pull request !1819 from zhangbuxue/restricting_modify_non-Parameter_class_members
2020-06-04 09:53:30 +08:00
Jamie Nisbet 51bc0c0460 consistent design for num_samples
updates

more update

more work

more fixin

post rebase updates

clang formatting

code review recovery

ci fixes

updates

update

update

update
2020-06-03 15:01:18 -04:00
mindspore-ci-bot bc7a3a1bef !1806 Add crop size check to python RandomCrop op
Merge pull request !1806 from Tinazhang/random-crop-error-msg
2020-06-03 23:28:22 +08:00
wangnan39@huawei.com c9b7d95c2c fix lr check bug in AdamWeightDecayDynamicLR 2020-06-03 19:20:36 +08:00
buxue 94c9019d8e restricting modify non_Parameter class members 2020-06-03 17:17:46 +08:00
mindspore-ci-bot 5d397d8404 !1804 add tensor compare & len & constexpr feature
Merge pull request !1804 from wangqiuliang/add-tensor-compare-len-consexpr-feature
2020-06-03 15:41:00 +08:00
mindspore-ci-bot a88d9a5603 !1753 [Auto parallel] Add the backward operator of the reshape part of the Embeddinglookup's backward
Merge pull request !1753 from Xiaoda/implementing-embeddinglookupgrad-operator-2
2020-06-03 14:07:07 +08:00
mindspore-ci-bot ddfa1edefe !1618 fix lstm
Merge pull request !1618 from baihuawei/cpulstm
2020-06-03 11:27:11 +08:00
Xiaoda Zhang 1cfb52bc0e add the reshape part of the embeddinglookup backward operator 2020-06-03 10:39:45 +08:00
kingfo 9785178b88 add tensor compare & len & constexpr operation 2020-06-03 10:27:41 +08:00
Tinazhang 33fe66fd1e fix error handling for bigger crop size case 2020-06-02 11:06:41 -04:00
liuwenhao4 ad4996d528 Register forward and backward operations of Ceil 2020-06-02 20:48:37 +08:00
mindspore-ci-bot 71dce2f586 !1800 fix cpu StridedSliceGrad bug when different dims between input and output
Merge pull request !1800 from sunsuodong/fix_StrideSliceGrad
2020-06-02 20:37:55 +08:00
mindspore-ci-bot 55dd9d9866 !1801 add bert performance test case
Merge pull request !1801 from wanghua/master
2020-06-02 20:18:28 +08:00
baihuawei ea78e16e74 fix lstm 2020-06-02 20:09:50 +08:00
wanghua 3f536ea1b7 add bert performance test case 2020-06-02 19:53:38 +08:00
sunsuodong 63d9e47291 fix cpu StridedSliceGrad 2020-06-02 19:20:15 +08:00
mindspore-ci-bot 80f581fc02 !1713 [Dataset] Clean pylint.
Merge pull request !1713 from luoyang/pylint
2020-06-02 16:54:29 +08:00
mindspore-ci-bot d5f55f0820 !1769 [AutoParallel]GatherV2_support_host_device
Merge pull request !1769 from lichen/gatherv2_support_host_and_device
2020-06-02 16:52:54 +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
mindspore-ci-bot e79df7c169 !1697 optimize clip_norm
Merge pull request !1697 from chenhaozhe/bert-optimization
2020-06-02 11:28:53 +08:00
mindspore-ci-bot 0426ed057b !1777 Remove ZerosLikeTensor and sub with ZerosTensor
Merge pull request !1777 from BowenK/master
2020-06-02 10:41:58 +08:00
BowenK 96379faa3a Remove ZerosLikeTensor and sub with ZerosLike 2020-06-02 09:52:12 +08:00
chenhaozhe 435fc12e28 optimize clip_norm 2020-06-02 09:48:29 +08:00
mindspore-ci-bot b3c6da90a5 !1714 Add 2 patterns for SoftmaxGradExt fusion pass
Merge pull request !1714 from huanghui/SoftmaxGradExt-fussion-pass
2020-06-02 09:16:21 +08:00
Yang 5522edc4b5 !1713 [Dataset] Clean pylint. 2020-06-02 09:02:19 +08:00
lichenever 1437966c98 gatherv2_support_host_and_device 2020-06-01 21:06:35 +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 b9ba99bb13 !1685 [Auto parallel] Fix the bugs in Embeddinglookup forward operator
Merge pull request !1685 from Xiaoda/fix-the-embeddinglookup-bug
2020-06-01 19:31:50 +08:00
huanghui d1cec14a0c add 2 pattern for softmaxgradext fusion pass 2020-06-01 18:48:41 +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
Xiaoda Zhang 55ef468a7f fix the embeddinglookup bug 2020-06-01 15:52:22 +08:00
lihongkang 436b309915 add vm for cosh and sinh 2020-06-01 15:22:12 +08:00
mindspore-ci-bot 4f08d35cc7 !1415 support mix target
Merge pull request !1415 from kisnwang/support-mix-target
2020-06-01 14:58:42 +08:00
zhouneng e5419f7bd1 add vm support for Expm1 2020-06-01 14:39:04 +08:00
kswang c63729b8e6 support mix target 2020-06-01 14:33:56 +08:00
rick_sanchez e2a322b6b7 Modify code to support dynamic graph. 2020-06-01 10:20:24 +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
mindspore-ci-bot efaaf58074 !1518 add register info for Atan and AtanGrad and Atanh
Merge pull request !1518 from zhouneng/add_vm_support_Atan_AtanGrad_Atanh
2020-05-30 16:48:09 +08:00
liuxiao 4efd151784 add tbe op SparseApplyProximalAdagradD-SparseApplyFtrlD-ApplyProximalAdagradD for VM 2020-05-30 16:00:21 +08:00
mindspore-ci-bot 0920660ecc !1712 clean pylint warnings of parallel test cases
Merge pull request !1712 from yihuaijie/master
2020-05-30 15:39:49 +08:00
mindspore-ci-bot 3d28ba10ef !1631 fix reviewbot of mem_reuse
Merge pull request !1631 from yangjie159/fix_reviewbot_of_mem_reuse
2020-05-30 15:25:43 +08:00
zhouneng e6b9432aca add register for Atan AtanGrad Atanh 2020-05-30 15:08:28 +08:00
mindspore-ci-bot cc9c004bc1 !1696 Enable ConfusionMulGrad fusion pass
Merge pull request !1696 from huanghui/TMP
2020-05-30 14:44:29 +08:00
Yi Huaijie d7e1ab1445 clean pylint warnings 2020-05-30 11:35:00 +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
mindspore-ci-bot 59683a1d90 !1692 Fix topk bug for fasterrcnn
Merge pull request !1692 from meixiaowei/master
2020-05-30 09:56:40 +08:00
mindspore-ci-bot 6f92c4a124 !1501 add vm support for operators in mindspore.ops.operaitons package. Inlcude ACos, ACosGrad, Acosh, AcoshGrad, ArgMinD and ApplyCenteredRMSProp
Merge pull request !1501 from zhouneng/add_vm_support
2020-05-30 09:56:02 +08:00
huanghui 71acaa5300 enable ConfusionMulGrad fusion pass in bert only 2020-05-30 09:46:21 +08:00
mindspore-ci-bot 387bcece9e !1666 Add 5 patterns for AdamApplyOneWithDecay fusion pass
Merge pull request !1666 from huanghui/AdamApplyOneWithDecay-fusion-pass
2020-05-30 09:43:07 +08:00
mindspore-ci-bot 90d98aa6ec !1694 Check the input size of BatchNorm before fission in bert
Merge pull request !1694 from YuJianfeng/master
2020-05-30 09:37:29 +08:00
mindspore-ci-bot 7878743400 !1638 fixed rounding edge case in split
Merge pull request !1638 from Peilin/splitOp-after-testing
2020-05-30 05:31:33 +08:00
mindspore-ci-bot 0e3dd8149a !1703 Adding sync_wait input check
Merge pull request !1703 from EricZ/master
2020-05-30 05:29:38 +08:00
mindspore-ci-bot c366b3fb18 !1704 fix num rows bug in sampler
Merge pull request !1704 from Peilin/fix-random-sampler-bug
2020-05-30 05:27:20 +08:00
Eric 8e1b2107ce Added example for sync_wait bad batch_num
Added broken test case for cv

Fixed error handling in sync_wait
2020-05-29 16:30:12 -04:00
mindspore-ci-bot 976b4793d1 !1544 Python Unit Test for TenCrop
Merge pull request !1544 from MahdiRahmaniHanzaki/I1IHNG-ten-crop
2020-05-30 03:02:29 +08:00
mindspore-ci-bot 15a196eba9 !1636 Add TCs to 3 vision transformation ops and cleanup config settings
Merge pull request !1636 from Tinazhang/randomGray
2020-05-30 03:02:15 +08:00
Peilin Wang 3ef3d1433d fixed num_samples bug for RandomSampler 2020-05-29 13:09:26 -04:00
Tinazhang f4a61fdbb2 Adding new UT cases and missing TCs in PY Ops. 2020-05-29 12:12:17 -04:00
Peilin Wang 5469be2a97 fixed bug for split, RandomSampler and some other cleanup
add another test case

typo

merge conflict

another PR changed testing behavior, updated test cases in this commit

added input check for use_sampler

addressed code review comments

fixed pylint, not related to my changes

fixed edge case of rounding in getting split sizes

fix pylint
2020-05-29 11:27:32 -04:00
jinyaohui 86d197dfeb clean pylint 2020-05-29 23:00:00 +08:00
lizhenyu 9df3a8613c fix get nullptr when use graph manager 2020-05-29 21:20:50 +08:00
huanghui ff05aa1faa add newly 5 patterns for AdamApplyOneWithDecayRule fusion pass 2020-05-29 19:49:44 +08:00
yujianfeng e6f1cfa581 Check the input size of BatchNorm before fission in bert 2020-05-29 19:34:58 +08:00
meixiaowei 1778ec0135 fix topk bug 2020-05-29 19:04:18 +08:00
zhouneng 65b0f8d1b3 为算子进行VM流程对接 2020-05-29 16:45:14 +08:00
mindspore-ci-bot 163eebf7b6 !1648 Add SoftmaxGradExt fusion pass
Merge pull request !1648 from huanghui/softmaxgradext-fusion-pass
2020-05-29 16:33:40 +08:00
jiangjinsheng c3f681f0cf vm for BesselI0e and BesselI1e 2020-05-29 16:04:27 +08:00
mindspore-ci-bot d3dbb10b6d !1563 Fixing some tiny faults about Pylint in my code(ops)
Merge pull request !1563 from liuwenhao/master
2020-05-29 15:04:51 +08:00
mindspore-ci-bot 8316f736ea !1650 Support forward reduce scatter for Matmul
Merge pull request !1650 from yangzhenzhang/forward-reduce-scatter
2020-05-29 14:45:32 +08:00
mindspore-ci-bot 23d27e0a17 !1540 [AutoParallel]Add resnet50 st
Merge pull request !1540 from lichen/add_auto_parallel_st
2020-05-29 14:35:56 +08:00
huanghui 99ca6b3e80 add SoftmaxGradExt fusion pass 2020-05-29 14:30:52 +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 57874cd61f !1372 [Auto parallel] Add a new primitive EmbeddingLookup
Merge pull request !1372 from Xiaoda/add-embedinglookup-primitive
2020-05-29 11:06:25 +08:00
lichenever 191d3c05d0 add auto parallel st 2020-05-29 10:53:50 +08:00
yangzhenzhang 19bd830539 support forward reduce scatter for matmul 2020-05-29 10:48:32 +08:00
mindspore-ci-bot f523a0f83c !1600 [AutoParallel]Fix GatherV2 bug
Merge pull request !1600 from lichen/fix_auto_parallel_gatherv2_bug
2020-05-29 10:27:14 +08:00
Xiaoda Zhang 4154adf196 add embedinglookup primitive 2020-05-29 10:15:09 +08:00
mindspore-ci-bot bb72c0020b !1612 add cpu stridedslice
Merge pull request !1612 from kisnwang/add-cpu-stridedslice
2020-05-29 10:01:50 +08:00
mindspore-ci-bot 4da9fe083b !1584 Modify the importing path of BERT after its src has been moved.
Merge pull request !1584 from lyvette/master
2020-05-29 09:12:46 +08:00
Mahdi dfc097019b Added TenCrop test
Added unit tests for both testing the functinality of the TenCrop and
its error messages. Due to the similarity of this method to FiveCrop the
test cases are similar to FiveCrop test cases.
Signed-off-by: Mahdi <mahdi.rahmani.hanzaki@huawei.com>

added error_msg function call in the main method

refactored the test and added visual representation of the results

Separated the two error cases into two different functions and used the
visualize function in util.py to plot the result of TenCrop.
Signed-off-by: Mahdi <mahdi.rahmani.hanzaki@huawei.com>

Added new test cases

Added new test cases including test case for checking the error message
when the size variable is not a positive integer, test case for
rectangle crop, test case for vertical flip setting, and testing for
similarity of the result of TenCrop for the same input data in different runs.
Signed-off-by: Mahdi <mahdi.rahmani.hanzaki@huawei.com>

changed visualize in test_five_crop

Changed the visualize function in test_five_crop to use the already
existing function in util.py
Signed-off-by: Mahdi <mahdi.rahmani.hanzaki@huawei.com>

made generate_golden variable global
2020-05-28 17:52:56 -04:00
yangjie159 37904cea01 fix reviewBot of mem_reuse 2020-05-28 23:40:20 +08:00
kswang f93e6beb52 add cpu strided slice 2020-05-28 23:04:35 +08:00
mindspore-ci-bot 21da86b393 !1591 add get_dataset_size for CelebADataset
Merge pull request !1591 from yanghaitao/yht_celeba_get_dataset_size
2020-05-28 22:21:43 +08:00
lichenever c223fde566 fix auto parallel gatherv2 bug 2020-05-28 20:34:35 +08:00
mindspore-ci-bot 8556eee3fc !1578 recitify pretrained path and revert AdjustAllReduceMulAdduse
Merge pull request !1578 from gengdongjie/master
2020-05-28 20:25:50 +08:00
mindspore-ci-bot ec5363ad9d !1593 Fix the bug that there is only return node in the forward graph
Merge pull request !1593 from yangzhenzhang/reshape-optimized
2020-05-28 19:30:26 +08:00
mindspore-ci-bot 4bf1c5099a !1551 add onnx ops for deepfm
Merge pull request !1551 from wandongdong/master
2020-05-28 17:31:05 +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
yanghaitao cc6c7a3f60 add get_dataset_size to celebadataset 2020-05-28 17:00:14 +08:00
mindspore-ci-bot 9c858444b0 !1568 Fix pylint warning for test cases of optimizer, infer, parse and pynative.
Merge pull request !1568 from seatea/fix-pylint-warning
2020-05-28 16:59:57 +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
yvetteliu 9b0aa3eb4a Modify the importing path of BERT after its src has been moved.
Fix an error.
2020-05-28 16:09:42 +08:00
mindspore-ci-bot 2a6a3e012c !1555 fix bug in lamb warmup step check
Merge pull request !1555 from wangnan39/fix_bug_in_check_lamb_warmup_step
2020-05-28 16:08:43 +08:00
yangzhenzhang 1413f520d7 support reshape optimized 2020-05-28 16:05:36 +08:00
mindspore-ci-bot 04398cf88e !1433 add tensor_minnie and separate py from ir
Merge pull request !1433 from leopz/tensor_base
2020-05-28 16:00:56 +08:00
mindspore-ci-bot 0f4dc13e8e !1478 [Dataset] Fix CI warnings, clean pylint.
Merge pull request !1478 from luoyang/pylint
2020-05-28 15:54:52 +08:00
gengdongjie 705c71a257 Revert "add pattern AdjustAllReduceMulAdduse the old opadd test case for bugtemp fix try"
This reverts commit 3db8cfa54f.
2020-05-28 15:21:15 +08:00
wandongdong 9c5f6b9198 add onnx ops for deepfm 2020-05-28 15:06:01 +08:00
fangzehua c0b8a90105 add vm ops: asin asinh asingrad asinhgrad 2020-05-28 14:58:23 +08:00
mindspore-ci-bot dd54ffdbdb !1491 Complete vm ops for ReduceAllD, SparseApplyAdagradD and UnsortedSegmentMinD
Merge pull request !1491 from lihongkang/master
2020-05-28 14:45:59 +08:00
leopz 4508134ceb add tensor_minnie and separate py from ir 2020-05-28 14:26:26 +08:00
mindspore-ci-bot 3dc061165b !1559 Voc dataset support split ops
Merge pull request !1559 from xiefangqi/xfq_voc_support_split
2020-05-28 14:17:35 +08:00
Yang 9b2a778d94 !1478 [Dataset] clean pylint. 2020-05-28 14:06:36 +08:00
wangnan39@huawei.com 810ccf80d8 fix_bug_in_check_lamb_warmup_step 2020-05-28 12:15:12 +08:00
mindspore-ci-bot c086d91aaf !1505 Add some checks in ConstToAttr[StridedSliceGrad] pass
Merge pull request !1505 from huanghui/stride-slice
2020-05-28 11:46:18 +08:00
mindspore-ci-bot ab94e92cd1 !1554 Check the size of topk input names before converting input to attr
Merge pull request !1554 from YuJianfeng/master
2020-05-28 11:44:33 +08:00
seatea 7398526abc Fix pylint warning for test cases of optimizer, infer, parse and
pynative.
2020-05-28 11:35:33 +08:00
xiefangqi 5e4728c50f add voc support split 2020-05-28 11:18:32 +08:00
lihongkang a36880f0ef add vms for reducealld etc. 2020-05-28 11:00:02 +08:00
mindspore-ci-bot 14f9a6e31c !1310 add cpu lstm
Merge pull request !1310 from baihuawei/cpu-lstm
2020-05-28 10:35:09 +08:00
yujianfeng ee087bdf60 Check the size of topk input names before converting input to attr 2020-05-28 10:29:21 +08:00
mindspore-ci-bot 1bfa0dc5d5 !1265 add cpu transpose
Merge pull request !1265 from baihuawei/transpose
2020-05-28 10:28:40 +08:00
mindspore-ci-bot 9c33da391a !1513 refine data copy in multi-graph
Merge pull request !1513 from zyli2020/refine_data_copy_in_multi_graph
2020-05-28 10:21:52 +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 fb7e4eac76 !1535 change hook function grad input to tuple
Merge pull request !1535 from wangqiuliang/change-hook-grad-input-to-tuple
2020-05-28 09:36:28 +08:00
mindspore-ci-bot a5161a969f !1531 cpu kernel support multiple inputs
Merge pull request !1531 from sunsuodong/multi_input
2020-05-28 09:12:20 +08:00
baihuawei 9bcdf4cbdc add lstm 2020-05-28 09:09:56 +08:00
mindspore-ci-bot ff4e4c2ee2 !1533 Fix pylint warning for pynative test cases
Merge pull request !1533 from seatea/fix-pylint-warning-for-pynative-mode
2020-05-28 08:11:42 +08:00
Jesse Lee 3b80c10b1e Fix some timing hole in these two testcases 2020-05-27 14:22:37 -04:00
mindspore-ci-bot e311473401 !1453 Raise mse threshold in RandomCropDecodeResizeOp
Merge pull request !1453 from Alexey_Shevlyakov/fix_random_crop_decode_resize_ut
2020-05-27 23:58:58 +08:00
sunsuodong 5cf29f2478 multi_input 2020-05-27 22:04:22 +08:00
mindspore-ci-bot 0fe3ff2761 !1506 Setting auto parallel flag for dataset wrap cell
Merge pull request !1506 from yangzhenzhang/set-auto-parallel-for-dataset-wrap
2020-05-27 21:50:43 +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 906389b3a7 !1382 support create new item when dictionary set item key not exist
Merge pull request !1382 from amongo/DictionarySupportSetNewItem
2020-05-27 21:08:39 +08:00
baihuawei eb0f897d31 add cpu transpose 2020-05-27 20:51:47 +08:00
kingfo 8f7e571a0b change hook grad input to tuple 2020-05-27 20:34:07 +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
seatea 21ab029227 Fix pylint warning for files under `pynative_mode` directory. 2020-05-27 19:28:31 +08:00
mindspore-ci-bot c8b30f9290 !1504 add custom tbe ops for quant aware training
Merge pull request !1504 from wandongdong/master
2020-05-27 19:18:22 +08:00
lizhenyu a25b84055c refine data copy in multi-graph 2020-05-27 18:47:15 +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
huanghui 1d65ae598a extract const_to_attr_strided_slice_grad pass 2020-05-27 17:30:17 +08:00
wandongdong d35c41e737 add custom tbe ops for quant aware training 2020-05-27 17:09:34 +08:00
mindspore-ci-bot 9c20b1d6f7 !1512 fix reshape reshape case
Merge pull request !1512 from yao_yf/fix_reshape_reshape_graph
2020-05-27 16:08:25 +08:00
zhaozhenlong 6fa2813945 add op BitwiseAnd BitwiseOr BitwiseXor 2020-05-27 16:00:25 +08:00
mindspore-ci-bot b46ad9a1bb !1398 Update the bert scripts according to rules of modelzoo
Merge pull request !1398 from chenhaozhe/update_bert_script
2020-05-27 15:55:09 +08:00
yangzhenzhang 2f8516e5d7 set auto parallel for dataset warp cell 2020-05-27 15:27:22 +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
chenhaozhe b6aceddeab update bert scripts according to rules of modelzoo 2020-05-27 14:27:09 +08:00
yao_yf 96c9569dca fix reshape reshape case 2020-05-27 14:25:40 +08:00
mindspore-ci-bot 2e684e89e7 !1446 pylint clean
Merge pull request !1446 from liuxiao78/master
2020-05-27 14:15:14 +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
mindspore-ci-bot 2eedd32120 !1472 add operator HostAllGather and HostReduceScatter
Merge pull request !1472 from yihuaijie/master
2020-05-27 11:41:45 +08:00
buxue 7ae289a197 Support mixed tensor for tensor getitem or setitem. 2020-05-27 11:19:51 +08:00
huangdongrun e9aa280f86 add support for dictionary set item which does not exist 2020-05-27 11:19:20 +08:00
mindspore-ci-bot b94949ea99 !1477 support vm for SpaceToBatchND and BatchToSpaceND
Merge pull request !1477 from jiangjinsheng/BatchToSpaceND
2020-05-27 10:29:43 +08:00
mindspore-ci-bot 5e2f440eed !1271 refactor of memreuse allocator to adapt the control stream
Merge pull request !1271 from yangjie159/refactor_memreuse_allocator
2020-05-27 10:24:16 +08:00
mindspore-ci-bot 4e8e82f24a !1457 fix 3 bug reports for split
Merge pull request !1457 from Peilin/splitOp-after-testing
2020-05-27 10:08:57 +08:00
mindspore-ci-bot 3aeb91ee58 !1443 Add parallel operator for Sigmoid
Merge pull request !1443 from yangzhenzhang/add-sigmoid-op
2020-05-27 10:08:28 +08:00
mindspore-ci-bot 650a45b233 !1490 Fix pylint warning
Merge pull request !1490 from seatea/fix-pylint-warning
2020-05-27 09:41:31 +08:00
jiangjinsheng a45dfca142 support BatchToSpaceND and SpaceToBatchND 2020-05-27 09:13:12 +08:00
Peilin Wang d4c93575e7 fixed bug for split, RandomSampler and some other cleanup
add another test case

typo

merge conflict

another PR changed testing behavior, updated test cases in this commit

added input check for use_sampler

addressed code review comments

fixed pylint, not related to my changes
2020-05-26 16:29:52 -04:00
mindspore-ci-bot 2753aa5a9c !1487 add cpu kernel "AddN"
Merge pull request !1487 from sunsuodong/addn
2020-05-26 22:27:07 +08:00
yangzhenzhang 7c237620ba add sigmoid op 2020-05-26 21:33:32 +08:00
seatea c6d8a4dc98 Fix pylint warning. 2020-05-26 21:23:06 +08:00
huangdongrun 334d038008 add support for multi switch
resolve review
2020-05-26 21:20:29 +08:00
sunsuodong ade90be427 addn 2020-05-26 20:16:41 +08:00
“liuxiao” 73a287e5e0 pylint clean 2020-05-26 19:46:14 +08:00
“liuxiao” ebbccca78b pylint clean 2020-05-26 19:36:54 +08:00
“liuxiao” f4542f810b pylint clean 2020-05-26 19:11:12 +08:00
Yi Huaijie 2f8e7ff693 add operator HostAllGather and HostReduceScatter 2020-05-26 17:41:20 +08:00
yujianfeng 94818cf255 Fix fusion condition of transpose and reshape 2020-05-26 17:30:38 +08:00
yangjie159 cbf5390b34 refactor memreuse allocator
remove stream id from membuf
add kernel dependence to determine whether is usable
2020-05-26 17:27:33 +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
mindspore-ci-bot 10076ffe1a !1216 add graph attention networks model and test file
Merge pull request !1216 from zhangdengcheng/master
2020-05-26 11:27:31 +08:00
mindspore-ci-bot 831ceba6eb !1277 Fixing some tiny faults about Pylint in ME code
Merge pull request !1277 from liuwenhao/master
2020-05-26 11:08:10 +08:00
Yang abca62f407 10:00 26/5 clean pylint 2020-05-26 10:05:12 +08:00
mindspore-ci-bot 93fc82b8f7 !1447 remove unused variable
Merge pull request !1447 from yihuaijie/master
2020-05-26 09:17:48 +08:00
mindspore-ci-bot 2215e3267f !1419 remove old buffer fusion pass
Merge pull request !1419 from Etone.Chan/Resnet50
2020-05-26 09:16:06 +08:00
mindspore-ci-bot 0b191615a9 !1427 fix check bprop attr error
Merge pull request !1427 from panyifeng/fix_check_bprop_attr_error
2020-05-26 09:10:51 +08:00
mindspore-ci-bot 578cdb4235 !1454 Allow TaskGroup::join_all() to block for GNN
Merge pull request !1454 from JesseKLee/zirui
2020-05-26 05:40:59 +08:00
mindspore-ci-bot 0a8ef2fe72 !1455 Cleanup dataset UT: restore config support
Merge pull request !1455 from cathwong/ckw_dataset_config_util
2020-05-26 05:40:39 +08:00
Jesse Lee a8fa847556 Allow join_all to be blocking 2020-05-25 15:24:36 -04:00
Cathy Wong f891e1755c Cleanup dataset UT: restore config support 2020-05-25 15:10:03 -04:00
Alexey Shevlyakov 7a807cbff9 fix ut 2020-05-25 14:56:58 -04:00
mindspore-ci-bot aeb4c52f2d !1379 Creating new UTs to three vision transformation ops
Merge pull request !1379 from Tinazhang/linearTrans
2020-05-25 23:10:30 +08:00
liuwenhao4 f3f0cbaeee Fixing some tiny faults about Pylint in my code(ops) 2020-05-25 21:27:45 +08:00
etone-chan 42d724d8b4 remove old buffer fusion pass 2020-05-25 21:25:45 +08:00
“liuxiao” 382a0124c3 pylint clean 2020-05-25 21:16:04 +08:00