Home
last modified time | relevance | path

Searched refs:losses_dict (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave_impl.py310 losses_dict = {}
312 losses_dict[layer] = {'losses': layer._losses[:],
317 return losses_dict
320 def _restore_layer_losses(losses_dict): argument
321 for layer in losses_dict:
323 layer._losses = losses_dict[layer]['losses']
324 layer._eager_losses = losses_dict[layer]['eager_losses']