fix TimeDistributedCriterion() lack of parameter of dimension issue (#2940)
fix TimeDistributedCriterion() lack of parameter of dimension issue (#2940)


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