(outputs, targets, loss_fn, output_name)
| 34 | |
| 35 | |
| 36 | def _eager_loss_fn(outputs, targets, loss_fn, output_name): |
| 37 | with backend.name_scope(output_name + '_loss'): |
| 38 | loss = loss_fn(targets, outputs) |
| 39 | return loss |
| 40 | |
| 41 | |
| 42 | def _eager_metrics_fn(model, outputs, targets, sample_weights=None, masks=None): |
nothing calls this directly
no test coverage detected