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

Method _set_output_attrs

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

Sets attributes related to the outputs of the Model.

(self, outputs)

Source from the content-addressed store, hash-verified

2756
2757 @trackable.no_automatic_dependency_tracking
2758 def _set_output_attrs(self, outputs):
2759 """Sets attributes related to the outputs of the Model."""
2760 outputs = nest.flatten(outputs)
2761 self.outputs = outputs
2762 self.output_names = training_utils.generic_output_names(outputs)
2763 # TODO(scottzhu): Should we cleanup the self._training_endpoints here?
2764 self.built = True
2765
2766 @property
2767 def _targets(self):

Callers 1

_set_inputsMethod · 0.95

Calls 1

flattenMethod · 0.45

Tested by

no test coverage detected