code: def test_gradcheck(self, device):
      x = self.prepare_data((1, 2, 5, 5), device)
      x = utils.tensor_to_gradcheck_var(x)
      assert gradcheck(
          kornia.geometry.transform.upscale_double,
          (x,),
          rtol=5e-2,
          raise_exception=True,
          fast_mode=True,
      )
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import BaseTester, assert_close
label_desc: Use image node_id 5 for calling the TestUpscaleDouble obj's underlying member method code with example usage: obj.test_gradcheck(device) without return types