Problem of writing new layers.
Created by: pengwangucla
I wrote a new layer and want to call it from outside. It give me the follow error
Traceback (most recent call last):
...
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 56, in __wrapper__
return func(*args, **kwargs)
TypeError: __init__() takes exactly 1 argument (6 given)
I print out the args in this case it has two arguments:
0 <paddle.v2.config_base.slice object at 0x7f5383c97710>
1 <paddle.v2.config_base.img_conv object at 0x7f5383c976d0>
My code is in this branch
Any ideas ?
@jacquesqiao @helinwang