Saves all layer weights to a .weights.h5
file.
Value
This is called primarily for side effects. model
is returned,
invisibly, to enable usage with the pipe.
See also
Other saving and loading functions: export_savedmodel.keras.src.models.model.Model()
layer_tfsm()
load_model()
load_model_weights()
register_keras_serializable()
save_model()
save_model_config()
with_custom_object_scope()