NEGU93 / cvnn

Library to help implement a complex-valued neural network (cvnn) using tensorflow as back-end
https://complex-valued-neural-networks.readthedocs.io/
MIT License
164 stars 34 forks source link

Error while adding a layer #49

Closed ashkanee closed 6 months ago

ashkanee commented 7 months ago

When trying to add a layer using:

model.add(complex_layers.ComplexDense(15, activation='relu')) I get:

self.w_r = self.add_weight('kernel_r', TypeError: add_weight() got multiple values for argument 'shape'

Can you please help? Thanks

NEGU93 commented 6 months ago

Hello,

Sorry for the late reply. I cannot realize what is wrong here. Can you give me the full code example? The MRE?

ashkanee commented 6 months ago

Hello,

Thanks for the reply. This error is related to the issue here. I think it is better to close this one.