(self, batch)
| 86 | self.prefix = prefix |
| 87 | |
| 88 | def display(self, batch): |
| 89 | entries = [self.prefix + self.batch_fmtstr.format(batch)] |
| 90 | entries += [str(meter) for meter in self.meters] |
| 91 | print('\t'.join(entries)) |
| 92 | |
| 93 | def _get_batch_fmtstr(self, num_batches): |
| 94 | num_digits = len(str(num_batches // 1)) |
no test coverage detected