code: def test_adj_matrix_construction():
      """Test the construction of the adj_hat matrix"""
      in_matrix, result_matrix = construct_pre_processing_matrix()
  
      adj_hat_torch = GraphConvBlock.preprocess_adj_to_adj_hat(
          in_matrix
      )
      assert isinstance(adj_hat_torch, torch.Tensor)
      assert torch.allclose(
          adj_hat_torch, result_matrix.to(torch.float32), rtol=1.0e-4
      )
  
file_path: maze/maze/test/perception/blocks/test_graph_cnn.py
imports: from typing import Tuple, Dict
  import pytest
  import torch
  import torch.nn
  from maze.perception.blocks.feed_forward.graph_conv import GraphConvBlock, GraphConvLayer
  from maze.perception.weight_init import make_module_init_normc
  from maze.test.perception.perception_test_utils import build_input_dict
label_desc: Use image node_id 3 for calling a global function with example usage: test_adj_matrix_construction() without return types