I got a problem with the tf.keras.utils.to_categoricalfunction. I understand what it does and why it is used, but I cant get it to work with my simple task. As
tf.keras.utils.to_categorical