code: def test_weights(self):
      sp3d.nn.set_backend("torchsparse")
      s = sp3d.modules.ResBlock(3, 10, sp3d.nn.Conv3d)
      sp3d.nn.set_backend("minkowski")
      m = sp3d.modules.ResBlock(3, 10, sp3d.nn.Conv3d)
      self.assertNotIsInstance(m.block[0], type(s.block[0]))
      m.load_state_dict(s.state_dict())
  
file_path: torch-points3d/test/test_sparseconv.py
imports: import os
  import sys
  import unittest
  import torch_points3d.modules.SparseConv3d
  import torch_points3d.modules.SparseConv3d.modules
label_desc: Use image node_id 2 for calling the TestSparseConv obj's underlying member method code with example usage: obj.test_weights() without return types