MCPcopy Create free account
hub / github.com/tensorflow/models / build_metrics

Method build_metrics

official/core/base_task.py:189–192  ·  view source on GitHub ↗

Gets streaming metrics for training/validation.

(self, training: bool = True)

Source from the content-addressed store, hash-verified

187 return total_loss
188
189 def build_metrics(self, training: bool = True):
190 """Gets streaming metrics for training/validation."""
191 del training
192 return []
193
194 def process_metrics(self, metrics, labels, model_outputs, **kwargs):
195 """Process and update metrics.

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected