提交 9cb2ff6a 编写于 作者: S sweetsky0901

del num_channels

上级 04fd9893
...@@ -14,8 +14,7 @@ class TestMaxOutOp(OpTest): ...@@ -14,8 +14,7 @@ class TestMaxOutOp(OpTest):
self.op_type = "maxout" self.op_type = "maxout"
self.init_test_case() self.init_test_case()
input = np.random.random(self.shape).astype("float32") input = np.random.random(self.shape).astype("float32")
output = self.MaxOut_forward_naive(input, self.groups, output = self.MaxOut_forward_naive(input, self.groups).astype("float32")
self.num_channels).astype("float32")
self.inputs = {'X': input} self.inputs = {'X': input}
self.attrs = {'groups': self.groups} self.attrs = {'groups': self.groups}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册