Complete the code to save only the weights of the model.
model.[1]('weights.h5')
Use save_weights to save only the weights of a TensorFlow model.
Complete the code to load weights from a file into the model.
model.[1]('weights.h5')
Use load_weights to load saved weights into a TensorFlow model.
Fix the error in saving weights by completing the method name correctly.
model.[1]('my_weights.h5')
The correct method to save weights is save_weights. Other options are invalid.
Fill both blanks to save weights in TensorFlow and specify the file format.
model.[1]('weights.[2]')
Use save_weights to save weights and h5 as the file extension for HDF5 format.
Fill all three blanks to load weights from a checkpoint file and verify the model's accuracy.
model.[1]('checkpoint.[2]') loss, accuracy = model.evaluate([3], verbose=0)
Use load_weights to load weights from a checkpoint file with extension .ckpt. Then evaluate the model on test_data to get accuracy.