Return the number of examples (predictions or predictions/references pair) currently stored in the evaluation module's cache.
(self)
| 251 | self._hash = hash |
| 252 | |
| 253 | def __len__(self): |
| 254 | """Return the number of examples (predictions or predictions/references pair) |
| 255 | currently stored in the evaluation module's cache. |
| 256 | """ |
| 257 | return 0 if self.writer is None else len(self.writer) |
| 258 | |
| 259 | def __repr__(self): |
| 260 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected