code: def test_dot_syntax_keys():
      parameter_dict = {
          "param1": torch.nn.Parameter(torch.randn(16, 16)),
          "model.param2": torch.nn.Parameter(torch.randn(8, 8)),
          "model.sub_model.param3": torch.nn.Parameter(
              torch.randn(4, 4)
          ),
      }
      parameter_dict = ParameterDict(parameter_dict)
  
      expected_keys = {
          "param1",
          "model.param2",
          "model.sub_model.param3",
      }
      assert set(parameter_dict.keys()) == expected_keys
      assert (
          set([key for key, _ in parameter_dict.items()])
          == expected_keys
      )
  
      for key in expected_keys:
          assert key in parameter_dict
  
      del parameter_dict["model.param2"]
      assert "model.param2" not in parameter_dict
  
imports: import torch
  from torch_geometric.nn.parameter_dict import ParameterDict
label_desc: Use image node_id 2 for calling a global function with example usage: test_dot_syntax_keys() without return types