When using data parallel, the data required for different metric calculations are stored in their respective Metric classes, and we need to merge these data to uniformly calculate metric. Args: other: Another Metric instance. Returns: None
(self, other: 'Metric')
| 41 | |
| 42 | @abstractmethod |
| 43 | def merge(self, other: 'Metric'): |
| 44 | """ When using data parallel, the data required for different metric calculations |
| 45 | |
| 46 | are stored in their respective Metric classes, |
| 47 | |
| 48 | and we need to merge these data to uniformly calculate metric. |
| 49 | |
| 50 | Args: |
| 51 | other: Another Metric instance. |
| 52 | |
| 53 | Returns: None |
| 54 | |
| 55 | """ |
| 56 | pass |
no outgoing calls
no test coverage detected