MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _is_hdf5_filepath

Function _is_hdf5_filepath

tensorflow/python/keras/engine/network.py:1644–1646  ·  view source on GitHub ↗
(filepath)

Source from the content-addressed store, hash-verified

1642
1643
1644def _is_hdf5_filepath(filepath):
1645 return (filepath.endswith('.h5') or filepath.endswith('.keras') or
1646 filepath.endswith('.hdf5'))
1647
1648
1649def _make_node_key(layer_name, node_index):

Callers 2

save_weightsMethod · 0.85
load_weightsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected