code: def test_ssim_equal_none(self, device, dtype):
      # input data
      img1 = torch.rand(1, 1, 10, 16, device=device, dtype=dtype)
      img2 = torch.rand(1, 1, 10, 16, device=device, dtype=dtype)
  
      ssim1 = kornia.losses.ssim_loss(
          img1, img1, window_size=5, reduction="none"
      )
      ssim2 = kornia.losses.ssim_loss(
          img2, img2, window_size=5, reduction="none"
      )
  
      tol_val: float = utils._get_precision_by_name(
          device, "xla", 1e-1, 1e-4
      )
      assert_close(
          ssim1, torch.zeros_like(img1), rtol=tol_val, atol=tol_val
      )
      assert_close(
          ssim2, torch.zeros_like(img2), rtol=tol_val, atol=tol_val
      )
  
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 TestSSIMLoss obj's underlying member method code with example usage: obj.test_ssim_equal_none(device, dtype) without return types