Open sascha-kirch opened 1 year ago
with tf.keras.layers.InputSpec(dim=xxx) one can specify the specification for an input when the layer is called.
Dont forget: unit test
https://www.tensorflow.org/api_docs/python/tf/keras/layers/InputSpec. I could also add dtypey, especially for the Fourier layers that expect complex inputs.
with tf.keras.layers.InputSpec(dim=xxx) one can specify the specification for an input when the layer is called.
Dont forget: unit test