1) I try to rename a model and the layers in Keras with TF backend, since I am using multiple models in one script. Class Model seem to have the property model.name, but whe
Just to cover all the options, regarding the title of the question, if you are using the Keras functional API you can define the model and the layers name by:
inputs = Input(shape=(value, value))
output_layer = Dense(2, activation = 'softmax', name = 'training_output')(dropout_new_training_layer)
model = Model(inputs= inputs, outputs=output_layer, name="my_model")