code: def test_one_param_vert(self, device, dtype):
      inp = torch.rand(1, 3, 5, 2, device=device, dtype=dtype)
      out = kornia.geometry.transform.resize(
          inp, 10, align_corners=False, side="vert"
      )
      assert out.shape == (1, 3, 10, 4)
  
      # 2D
      inp = torch.rand(5, 2, device=device, dtype=dtype)
      out = kornia.geometry.transform.resize(
          inp, 10, align_corners=False, side="vert"
      )
      assert out.shape == (10, 4)
  
      # 3D
      inp = torch.rand(3, 5, 2, device=device, dtype=dtype)
      out = kornia.geometry.transform.resize(
          inp, 10, align_corners=False, side="vert"
      )
      assert out.shape == (3, 10, 4)
  
      # arbitrary dim
      inp = torch.rand(
          1, 2, 3, 2, 1, 3, 5, 2, device=device, dtype=dtype
      )
      out = kornia.geometry.transform.resize(
          inp, 10, align_corners=False, side="vert"
      )
      assert out.shape == (1, 2, 3, 2, 1, 3, 10, 4)
  
imports: import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia
  import kornia.testing
  from kornia.testing import assert_close
label_desc: Use image node_id 7 for calling the TestResize obj's underlying member method code with example usage: obj.test_one_param_vert(device, dtype) without return types