Support n-dimensional Dense (#2048)
Support n-dimensional Dense (#2048)

* update

* nD dense

yangw1234/BigDL,yangw1234/BigDL,intel-analytics/BigDL,intel-analytics/BigDL,yangw1234/BigDL,intel-analytics/BigDL,yangw1234/BigDL,intel-analytics/BigDL