I use tf.keras.model.Model(), not keras.model.Model(), then the error occured.
Model() is a function, not a layer.
Why does this happen? Is there any difference between tf.keras.model.Model() and keras.model.Model()?
Looking forward to your answer. thank you very much.
I use tf.keras.model.Model(), not keras.model.Model(), then the error occured. Model() is a function, not a layer. Why does this happen? Is there any difference between tf.keras.model.Model() and keras.model.Model()? Looking forward to your answer. thank you very much.