Computes and returns a final value for the metric.
(self)
| 211 | raise NotImplementedError("Metrics must define a call() member function") |
| 212 | |
| 213 | def result(self): # TODO(josh11b): Add an optional summary_writer parameter. |
| 214 | """Computes and returns a final value for the metric.""" |
| 215 | raise NotImplementedError("Metrics must define a result() member function") |
| 216 | |
| 217 | def value(self): |
| 218 | """In graph mode returns the result Tensor while in eager the callable.""" |