diff --git a/paddle/operators/math/unpooling.cu b/paddle/operators/math/unpooling.cu index d26ceed6ad411656d317ca9d4d8f760c2c5b8314..bb8489fb95f25a9a11f900eff2a28f8c921fc18a 100644 --- a/paddle/operators/math/unpooling.cu +++ b/paddle/operators/math/unpooling.cu @@ -42,7 +42,6 @@ __global__ void KernelUnpool2dMax(const int nthreads, int out_offset = bidx * out_bsize + cidx * out_csize; int out_index = indices_data[i]; PADDLE_ASSERT(out_index < (output_height * output_width)); - printf("-------%d------[%f]\n", out_offset + out_index, input_data[i]); output_data[out_offset + out_index] = input_data[i]; } } diff --git a/python/paddle/v2/fluid/tests/test_unpool_op.py b/python/paddle/v2/fluid/tests/test_unpool_op.py index 7984743e6f61c887d0f76ce8d24a2b5a92e992e0..b1ddf95acc02e8f9ac49e428b972c6ca5db4b012 100644 --- a/python/paddle/v2/fluid/tests/test_unpool_op.py +++ b/python/paddle/v2/fluid/tests/test_unpool_op.py @@ -54,9 +54,6 @@ class TestUnpoolOp(OpTest): self.outputs = {'Out': output.astype('float32')} def test_check_output(self): - print self.inputs['X'] - print self.inputs['Y'] - print self.outputs['Out'] self.check_output() def test_check_grad(self):