From 47bd0bb6787d049f094f2c883f54b7d314eedec1 Mon Sep 17 00:00:00 2001 From: sweetsky0901 Date: Wed, 22 Nov 2017 15:45:43 +0800 Subject: [PATCH] del printf --- paddle/operators/math/unpooling.cu | 1 - python/paddle/v2/fluid/tests/test_unpool_op.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/paddle/operators/math/unpooling.cu b/paddle/operators/math/unpooling.cu index d26ceed6ad4..bb8489fb95f 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 7984743e6f6..b1ddf95acc0 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): -- GitLab