|
|
@ -105,7 +105,6 @@ TEST(Layer, maxPoolingWithMaskOutputLayerFwd) {
|
|
|
|
maskMat->setData(maskData);
|
|
|
|
maskMat->setData(maskData);
|
|
|
|
doOneMaxPoolingWithMaskOutputTest(
|
|
|
|
doOneMaxPoolingWithMaskOutputTest(
|
|
|
|
inputMat, "max-pool-with-mask", useGpu, maskMat);
|
|
|
|
inputMat, "max-pool-with-mask", useGpu, maskMat);
|
|
|
|
/*
|
|
|
|
|
|
|
|
#ifdef PADDLE_WITH_CUDA
|
|
|
|
#ifdef PADDLE_WITH_CUDA
|
|
|
|
useGpu = true;
|
|
|
|
useGpu = true;
|
|
|
|
inputMat = Matrix::create(1, 25, false, useGpu);
|
|
|
|
inputMat = Matrix::create(1, 25, false, useGpu);
|
|
|
@ -115,5 +114,4 @@ TEST(Layer, maxPoolingWithMaskOutputLayerFwd) {
|
|
|
|
doOneMaxPoolingWithMaskOutputTest(
|
|
|
|
doOneMaxPoolingWithMaskOutputTest(
|
|
|
|
inputMat, "max-pool-with-mask", useGpu, maskMat);
|
|
|
|
inputMat, "max-pool-with-mask", useGpu, maskMat);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
*/
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|