Closed ashkanee closed 6 months ago
When I use:
model.add(complex_layers.ComplexInput(input_shape=(input_number,), dtype=np.complex64)) where "input_number=4", it says:
model.add(complex_layers.ComplexInput(input_shape=(input_number,), dtype=np.complex64))
ValueError: Invalid dtype: complex64
Isn't it supposed to get complex inputs or I am missing something? Thanks for the help.
Hello, sorry for the late reply.
Normally you don't need to specify it, the default is complex64. If you want to specify it, try using tf.as_dtype(np.complex64) instead.
tf.as_dtype(np.complex64)
Thanks for the reply :) Actually the issue is similar to that of this one: issue Maybe we can close this issue so that we can focus there. Thanks for the help
When I use:
model.add(complex_layers.ComplexInput(input_shape=(input_number,), dtype=np.complex64))
where "input_number=4", it says:ValueError: Invalid dtype: complex64
Isn't it supposed to get complex inputs or I am missing something? Thanks for the help.