some isues about cudnn lstm in caffe

Hi, recently i implement cudnn lstm based on junhyukoh’s caffe, and i got some correct results. but i have some problems: cudnn developer guide, ‘cudnnRNNForwardInference’ need xDesc is a column-major data

Input data are expected to be arranged in the column-major order so strides in xDesc should be set as follows: strideA[0]=inputSize, strideA[1]=1, strideA[2]=1.

I don’t know what I need to do to modify the caffe’s bottom_data. can someone tell what i need to do?