code: def test_model_init():
      model = DummyModel(
          MODEL_NAME,
          DATASET_NAME,
          model_kwargs={**CONFIG, "tensor": torch.randn([1, 2, 3])},
      )
      assert model.model_config == CONFIG
  
file_path: pytorch_geometric/test/nn/test_model_hub.py
imports: import os
  from pathlib import Path
  from unittest.mock import Mock
  import pytest
  import torch
  from torch_geometric.nn import GCN
  from torch_geometric.nn.model_hub import PyGModelHubMixin
  from torch_geometric.testing import withPackage
label_desc: Use image node_id 2 for calling a global function with example usage: test_model_init() without return types