docstr: Compares two ways of computing the laplacian matrix.
docstr_tok: ["Compares","two","ways","of","computing","the","laplacian","matrix","."]
code: def test_build_matrices_laplacian_versions(self, size, channels):
      """Compares two ways of computing the laplacian matrix."""
      tensor_shape = np.random.randint(size, 6, size=3)
      image_init = np.random.uniform(
          0.0, 1.0, size=tensor_shape.tolist() + [channels]
      )
      image = tf.convert_to_tensor(value=image_init)
  
      laplacian_v1, _ = matting.build_matrices(image, size=size)
      laplacian_v2 = _laplacian_matrix(image, size=size)
  
      self.assertAllClose(laplacian_v1, laplacian_v2)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.image import matting
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 3 for calling the MattingTest obj's underlying member method code with example usage: obj.test_build_matrices_laplacian_versions(size, channels) without return types