CoreMLModelCompile lstm get an error

I convert a caffe model to coreml successfully, But I got an error when build in Xcode


coremlc: Error: compiler error: LSTM layer: 'lstm1': height dimension of the input blob must be 1.


How can I fix this error?