code: def test_serialization(self, device, dtype, tmp_path):
      data = torch.rand(1, 2, 3, 4, device=device, dtype=dtype)
      tensor: TensorWrapper = wrap(data, TensorWrapper)
  
      file_path = tmp_path / "tensor.pt"
      torch.save(tensor, file_path)
      file_path.is_file()
  
      loaded_tensor: TensorWrapper = torch.load(file_path)
      assert isinstance(loaded_tensor, TensorWrapper)
  
      self.assert_close(loaded_tensor.unwrap(), tensor.unwrap())
  
file_path: kornia/test/core/test_tensor_wrapper.py
imports: import pytest
  import torch
  from kornia.core import Tensor
  from kornia.core.tensor_wrapper import TensorWrapper, unwrap, wrap
  from kornia.testing import BaseTester
label_desc: Use image node_id 2 for calling the TestTensorWrapper obj's underlying member method code with example usage: obj.test_serialization(device, dtype, tmp_path) without return types