[MXNET-546] Add unit test for MKLDNNSum (#11272)
[MXNET-546] Add unit test for MKLDNNSum (#11272)

* add test for mkldnnsum

* add extra comment

* fix verify

* only run if mkldnn supported

* divide size by size of type

* filter out regular arrays

* fix cond

* add verify mes

* filter views

* different outputs arrays

* move print message

* add in place test

* update copy fn

* refactor copyfrom

* use arr.copy instead of tmpmemmg

* use InitMKLDNNArray helper

* fix params

* pass correct type to copyfrom

* add print message for inplace sum

* remove copyfrom refactor

* remove redundant header

* remove extra line

* fix lint

* retrigger

ptrendx/mxnet,leezu/mxnet,ForkedReposBak/mxnet,apache/incubator-mxnet,ForkedReposBak/mxnet,reminisce/mxnet,ptrendx/mxnet,zhreshold/mxnet,indhub/mxnet,apache/incubator-mxnet,eric-haibin-lin/mxnet,mbaijal/incubator-mxnet,navrasio/mxnet,rahul003/mxnet,yajiedesign/mxnet,rahul003/mxnet,mbaijal/incubator-mxnet,navrasio/mxnet,larroy/mxnet,jamesliu/mxnet,precedenceguo/mxnet,indhub/mxnet,jamesliu/mxnet,szha/mxnet,sxjscience/mxnet,ptrendx/mxnet,jamesliu/mxnet,dmlc/mxnet,mbaijal/incubator-mxnet,ForkedReposBak/mxnet,precedenceguo/mxnet,yajiedesign/mxnet,navrasio/mxnet,reminisce/mxnet,indhub/mxnet,rahul003/mxnet,tlby/mxnet,reminisce/mxnet,indhub/mxnet,indhub/mxnet,ptrendx/mxnet,larroy/mxnet,eric-haibin-lin/mxnet,navrasio/mxnet,reminisce/mxnet,reminisce/mxnet,szha/mxnet,tlby/mxnet,precedenceguo/mxnet,reminisce/mxnet,dmlc/mxnet,eric-haibin-lin/mxnet,apache/incubator-mxnet,navrasio/mxnet,sxjscience/mxnet,ForkedReposBak/mxnet,sxjscience/mxnet,mbaijal/incubator-mxnet,rahul003/mxnet,larroy/mxnet,indhub/mxnet,ForkedReposBak/mxnet,navrasio/mxnet,tlby/mxnet,sxjscience/mxnet,indhub/mxnet,sxjscience/mxnet,szha/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,eric-haibin-lin/mxnet,sxjscience/mxnet,ptrendx/mxnet,szha/mxnet,leezu/mxnet,jamesliu/mxnet,tlby/mxnet,zhreshold/mxnet,jamesliu/mxnet,eric-haibin-lin/mxnet,larroy/mxnet,yajiedesign/mxnet,larroy/mxnet,dmlc/mxnet,ForkedReposBak/mxnet,precedenceguo/mxnet,ForkedReposBak/mxnet,jamesliu/mxnet,tlby/mxnet,dmlc/mxnet,navrasio/mxnet,sxjscience/mxnet,ForkedReposBak/mxnet,zhreshold/mxnet,reminisce/mxnet,zhreshold/mxnet,ptrendx/mxnet,dmlc/mxnet,larroy/mxnet,rahul003/mxnet,leezu/mxnet,larroy/mxnet,leezu/mxnet,dmlc/mxnet,DickJC123/mxnet,dmlc/mxnet,precedenceguo/mxnet,rahul003/mxnet,jamesliu/mxnet,tlby/mxnet,precedenceguo/mxnet,mbaijal/incubator-mxnet,mbaijal/incubator-mxnet,precedenceguo/mxnet,zhreshold/mxnet,reminisce/mxnet,tlby/mxnet,DickJC123/mxnet,szha/mxnet,tlby/mxnet,tlby/mxnet,indhub/mxnet,dmlc/mxnet,szha/mxnet,sxjscience/mxnet,indhub/mxnet,mbaijal/incubator-mxnet,ptrendx/mxnet,larroy/mxnet,eric-haibin-lin/mxnet,navrasio/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,zhreshold/mxnet,apache/incubator-mxnet,jamesliu/mxnet,navrasio/mxnet,szha/mxnet,yajiedesign/mxnet,yajiedesign/mxnet,precedenceguo/mxnet,yajiedesign/mxnet,ptrendx/mxnet,leezu/mxnet,zhreshold/mxnet,DickJC123/mxnet,ptrendx/mxnet,yajiedesign/mxnet,szha/mxnet,reminisce/mxnet,eric-haibin-lin/mxnet,larroy/mxnet,leezu/mxnet,leezu/mxnet,leezu/mxnet,szha/mxnet,eric-haibin-lin/mxnet,rahul003/mxnet,leezu/mxnet,sxjscience/mxnet,tlby/mxnet,precedenceguo/mxnet,ForkedReposBak/mxnet,DickJC123/mxnet,reminisce/mxnet,ptrendx/mxnet,yajiedesign/mxnet,jamesliu/mxnet,rahul003/mxnet,yajiedesign/mxnet,dmlc/mxnet,rahul003/mxnet,eric-haibin-lin/mxnet