提交 6053f7e3 编写于 作者: C chengduoZH

fix previous comments(c++)

上级 2710584f
...@@ -241,7 +241,7 @@ extern void hl_matrix_rotate( ...@@ -241,7 +241,7 @@ extern void hl_matrix_rotate(
* @param[in] paddingD padding in the depth. * @param[in] paddingD padding in the depth.
* @param[in] paddingH padding in the height. * @param[in] paddingH padding in the height.
* @param[in] paddingW padding in the width. * @param[in] paddingW padding in the width.
* @param[out] matDst output matrix. * @param[out] dataDst output matrix.
* *
*/ */
extern void hl_matrix_vol2Col(const real* dataSrc, extern void hl_matrix_vol2Col(const real* dataSrc,
......
...@@ -53,18 +53,12 @@ bool Conv3DLayer::init(const LayerMap &layerMap, ...@@ -53,18 +53,12 @@ bool Conv3DLayer::init(const LayerMap &layerMap,
size_t Conv3DLayer::getSize() { size_t Conv3DLayer::getSize() {
CHECK_NE(inputLayers_.size(), 0UL); CHECK_NE(inputLayers_.size(), 0UL);
// imgSizeH_.clear();
// imgSizeW_.clear();
// imgSizeD_.clear();
outputH_.clear(); outputH_.clear();
outputW_.clear(); outputW_.clear();
outputD_.clear(); outputD_.clear();
N_.clear(); N_.clear();
size_t layerSize = 0; size_t layerSize = 0;
for (size_t i = 0; i < inputLayers_.size(); ++i) { for (size_t i = 0; i < inputLayers_.size(); ++i) {
// imgSizeH_.push_back(inputLayers_[i]->getOutput().getFrameHeight());
// imgSizeW_.push_back(inputLayers_[i]->getOutput().getFrameWidth());
// imgSizeD_.push_back(inputLayers_[i]->getOutput().getFrameDepth());
outputW_.push_back(outputSize( outputW_.push_back(outputSize(
imgSizeW_[i], filterSize_[i], padding_[i], stride_[i], true)); imgSizeW_[i], filterSize_[i], padding_[i], stride_[i], true));
outputH_.push_back(outputSize( outputH_.push_back(outputSize(
......
...@@ -53,9 +53,6 @@ bool DeConv3DLayer::init(const LayerMap &layerMap, ...@@ -53,9 +53,6 @@ bool DeConv3DLayer::init(const LayerMap &layerMap,
size_t DeConv3DLayer::getSize() { size_t DeConv3DLayer::getSize() {
CHECK_NE(inputLayers_.size(), 0UL); CHECK_NE(inputLayers_.size(), 0UL);
// imgSizeH_.clear();
// imgSizeW_.clear();
// imgSizeD_.clear();
outputH_.clear(); outputH_.clear();
outputW_.clear(); outputW_.clear();
outputD_.clear(); outputD_.clear();
...@@ -63,9 +60,6 @@ size_t DeConv3DLayer::getSize() { ...@@ -63,9 +60,6 @@ size_t DeConv3DLayer::getSize() {
NOut_.clear(); NOut_.clear();
size_t layerSize = 0; size_t layerSize = 0;
for (size_t i = 0; i < inputLayers_.size(); ++i) { for (size_t i = 0; i < inputLayers_.size(); ++i) {
// imgSizeH_.push_back(inputLayers_[i]->getOutput().getFrameHeight());
// imgSizeW_.push_back(inputLayers_[i]->getOutput().getFrameWidth());
// imgSizeD_.push_back(inputLayers_[i]->getOutput().getFrameDepth());
outputW_.push_back( outputW_.push_back(
imageSize(imgSizeW_[i], filterSize_[i], padding_[i], stride_[i], true)); imageSize(imgSizeW_[i], filterSize_[i], padding_[i], stride_[i], true));
outputH_.push_back(imageSize( outputH_.push_back(imageSize(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册