code: def test_shape_tuple(self, device, dtype):
      inp = torch.zeros(3, 2, 41, 41, device=device, dtype=dtype)
      SP = kornia.geometry.ScalePyramid(n_levels=1, min_size=30)
      out = SP(inp)
      assert len(out) == 3
      assert len(out[0]) == 1
      assert len(out[1]) == 1
      assert len(out[2]) == 1
  
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 1 for calling the TestScalePyramid obj's underlying member method code with example usage: obj.test_shape_tuple(device, dtype) without return types