Support NHWC format in SpatialMaxPooling (#1444)
Support NHWC format in SpatialMaxPooling (#1444)

* support nhwc in SpatialMaxPooling

* add tests

* fix bug and meet code review

* add python api and doc

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