fix keras dense for nD input (#2125)
fix keras dense for nD input (#2125)


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