提交 34362d93 编写于 作者: H hedaoyuan

Fix some of the wrong comments in im2col.h file.

上级 9c009b40
...@@ -24,10 +24,11 @@ enum ColFormat { kCFO = 0, kOCF = 1 }; ...@@ -24,10 +24,11 @@ enum ColFormat { kCFO = 0, kOCF = 1 };
* five dimensions in the Im2ColFunctor calculation, * five dimensions in the Im2ColFunctor calculation,
* And in the Col2ImFunctor calculation, it is reversed. * And in the Col2ImFunctor calculation, it is reversed.
* *
* \param imData Image data of NCHW format. * \param imData Image data.
* The shape of imData is: * \param imShape The shape of imData,
* [inputChannels, inputHeight, inputWidth]. * [inputChannels, inputHeight, inputWidth].
* \param colData colData data. * \param colData Column data.
* \param colShape The shape of colData.
* *
* If the template argument Format is kCFO, the shape of colData is: * If the template argument Format is kCFO, the shape of colData is:
* [inputChannels, filterHeight, filterWidth, outputHeight, outputWidth] * [inputChannels, filterHeight, filterWidth, outputHeight, outputWidth]
...@@ -38,10 +39,10 @@ enum ColFormat { kCFO = 0, kOCF = 1 }; ...@@ -38,10 +39,10 @@ enum ColFormat { kCFO = 0, kOCF = 1 };
* outputHeight * outputWidth. * outputHeight * outputWidth.
* *
* Reshape: * Reshape:
* shape of colData shape of sequence * shape of colData shape of convolution matrix
* [inputChannels, * [inputChannels,
* filterHeight, * filterHeight,
* filterWidth, ======> [seqLength, stepSize] * filterWidth, ======> [height, width]
* outputHeight, * outputHeight,
* outputWidth] * outputWidth]
* *
...@@ -53,7 +54,7 @@ enum ColFormat { kCFO = 0, kOCF = 1 }; ...@@ -53,7 +54,7 @@ enum ColFormat { kCFO = 0, kOCF = 1 };
* inputChannels * filterHeight * filterWidth. * inputChannels * filterHeight * filterWidth.
* *
* Reshape: * Reshape:
* shape of colData shape of sequence * shape of colData shape of sequence matrix
* [outputHeight, * [outputHeight,
* outputWidth, * outputWidth,
* inputChannels, ======> [seqLength, stepSize] * inputChannels, ======> [seqLength, stepSize]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册