From 9cb2ff6a3b473c4f930effbb6ec4d4e856676ad3 Mon Sep 17 00:00:00 2001 From: sweetsky0901 Date: Mon, 20 Nov 2017 19:40:25 +0800 Subject: [PATCH] del num_channels --- python/paddle/v2/fluid/tests/test_maxout_op.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/v2/fluid/tests/test_maxout_op.py b/python/paddle/v2/fluid/tests/test_maxout_op.py index 1416e13feb..05e42f3158 100644 --- a/python/paddle/v2/fluid/tests/test_maxout_op.py +++ b/python/paddle/v2/fluid/tests/test_maxout_op.py @@ -14,8 +14,7 @@ class TestMaxOutOp(OpTest): self.op_type = "maxout" self.init_test_case() input = np.random.random(self.shape).astype("float32") - output = self.MaxOut_forward_naive(input, self.groups, - self.num_channels).astype("float32") + output = self.MaxOut_forward_naive(input, self.groups).astype("float32") self.inputs = {'X': input} self.attrs = {'groups': self.groups} -- GitLab