save_weights

FullyConnected.save_weights(filepath, overwrite=True)

Saves all layer weights to a .weights.h5 file.

Parameters:
  • filepathstr or pathlib.Path object. Path where to save the model. Must end in .weights.h5.

  • overwrite – Whether we should overwrite any existing model at the target location, or instead ask the user via an interactive prompt.