File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -1080,7 +1080,6 @@ void GpuMatrix::maxPoolBackward(Matrix& inputMat,
10801080 size_t channels = outV.getWidth () / outputH / outputW;
10811081 CHECK (imgSizeH * imgSizeW * channels == inputMat.getWidth ());
10821082 CHECK (height_ == inputMat.getHeight ());
1083- CHECK (width_ == imgSizeW * imgSizeH * channels);
10841083 CHECK (outGrad.getHeight () == outV.getHeight () &&
10851084 outGrad.getWidth () == outV.getWidth ());
10861085
@@ -1259,7 +1258,6 @@ void GpuMatrix::maxPool3DBackward(Matrix& outGrad,
12591258 size_t frameNum = getHeight ();
12601259 size_t channels = outGrad.getWidth () / outputD / outputH / outputW;
12611260 CHECK (imgSizeD * imgSizeH * imgSizeW * channels == getWidth ());
1262- CHECK (width_ == imgSizeD * imgSizeH * imgSizeW * channels);
12631261 CHECK (outGrad.getHeight () == maxPoolIdx.getHeight () &&
12641262 outGrad.getWidth () == maxPoolIdx.getWidth ());
12651263
You can’t perform that action at this time.
0 commit comments