Public getInputShape and getOutputShape (#2401)
Public getInputShape and getOutputShape (#2401)

* open getInputShape and getOutputShape

* clean

* remove logger

* fix

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