|View source on GitHub|
Restore the Network from a checkpoint. (deprecated)
tf.contrib.eager.restore_network_checkpoint( network, save_path, map_func=None )
If variables have already been created (typically when some or all of the
Network is built), they are assigned values from the checkpoint immediately,
overwriting any existing values (in graph mode the default session is used for
If there are checkpoint entries which do not correspond to any existing
variables in the
Network, these values are saved for deferred restoration;
their initial values will be the checkpointed values once they are
created. Requests for multiple deferred restorations behave the same way as
immediate restorations, in that later requests will take priority over earlier
requests relevant to the same variable.
Layers with another network, those
also have their variables restored from the checkpoint.
||A Network object to restore.|
The return value of
A function mapping fully qualified variable names (e.g.
'my_network_1/dense_1/kernel') to names in the checkpoint. By default (if