(self)
| 92 | self.tokens_count += 1 |
| 93 | |
| 94 | def eval(self): |
| 95 | if not self.is_last_stage == 0: |
| 96 | return 0 |
| 97 | val_loss = sum(self.metric) / (self.tokens_count * self.data_length) |
| 98 | return val_loss |
nothing calls this directly
no outgoing calls
no test coverage detected