Is the models redundant in tf.keras API? For some cases, even without using models, the code also runs well.
keras.models.sequentialandkeras.sequentialtf.keras.models.Modelandtf.keras.Model
However, sometimes, models seems to be necessary. For example,
model = keras.models.load_model(), But model = keras.Model does not has .load_model() function. Because .load_model() is defined in tf.keras.Model.
I find it quite confusing and semi-redundant. Could anyone explain what is the point of models, and when it is necessary?
