def _make_input(t, requires_grad=False, device=torch.device('cpu')):
        """Make zero inputs for AE loss.

        Args:
            t (torch.Tensor): input
            requires_grad (bool): Option to use requires_grad.
            device: torch device

        Returns:
            torch.Tensor: zero input.
        """
        inp = torch.autograd.Variable(t, requires_grad=requires_grad)
        inp = inp.sum()
        inp = inp.to(device)
        return inp
Make zero inputs for AE loss.

        Args:
            t (torch.Tensor): input
            requires_grad (bool): Option to use requires_grad.
            device: torch device

        Returns:
            torch.Tensor: zero input.
        
mmpose/tests/test_models/test_losses/test_ae_loss.py