MCPcopy Create free account
hub / github.com/alibaba/nann / save_weights

Method save_weights

tensorflow/tensorflow/python/keras/engine/network.py:1173–1292  ·  view source on GitHub ↗

Saves all layer weights. Either saves in HDF5 or in TensorFlow format based on the `save_format` argument. When saving in HDF5 format, the weight file has: - `layer_names` (attribute), a list of strings (ordered names of model layers). - For every layer, a `group`

(self, filepath, overwrite=True, save_format=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testTrackingMethod · 0.45
testTrackingMethod · 0.45
testPopNoSaveMethod · 0.45
_save_modelMethod · 0.45
_log_embeddingsMethod · 0.45

Calls 7

_is_hdf5_filepathFunction · 0.85
stripMethod · 0.80
executing_eagerlyMethod · 0.80
get_sessionMethod · 0.80
saveMethod · 0.45

Tested by 15

testTrackingMethod · 0.36
testTrackingMethod · 0.36
testPopNoSaveMethod · 0.36
test_savingMethod · 0.36