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

Method _prepare_output_masks

tensorflow/python/keras/engine/training.py:1667–1669  ·  view source on GitHub ↗

Returns masks corresponding to model outputs.

(self)

Source from the content-addressed store, hash-verified

1665 return [l is None for l in self.loss_functions]
1666
1667 def _prepare_output_masks(self):
1668 """Returns masks corresponding to model outputs."""
1669 return [getattr(x, '_keras_mask', None) for x in self.outputs]
1670
1671 def _prepare_total_loss(self, masks):
1672 """Computes total loss from loss functions.

Callers 2

compileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected