def numpy(self) -> 'MultilevelPixelData':
        """Convert all tensor to np.narray in data."""
        return self._convert(
            apply_to=torch.Tensor, func=lambda x: x.detach().cpu().numpy())
Convert all tensor to np.narray in data.
mmpose/mmpose/structures/multilevel_pixel_data.py