    def to(self, *args, **kwargs):
        """
        Make 'Metrics' calculation on specific device.
        """
        raise NotImplementedError
Make 'Metrics' calculation on specific device.
towhee/trainer/metrics.py