def __call__(self, *args, **kwargs) -> Any:
        """Calls the wrapped function with the given arguments and saves the
        results in the `log` attribute."""
        results = self.func(*args, **kwargs)
        self.log.append(results)
        return results
Calls the wrapped function with the given arguments and saves the
        results in the `log` attribute.
mmpose/projects/yolox_pose/models/utils.py