Gets streaming metrics for training/validation.
(self, training: bool = True)
| 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. |