Type type error for "ComplexInput"
ashkanee opened this issue · 2 comments
ashkanee commented
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.
NEGU93 commented
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.