code: def test_dense_global_pool():
      x = torch.randn(3, 16, 32)
      assert torch.allclose(global_add_pool(x, None), x.sum(dim=1))
  
imports: import torch
  from torch_geometric.nn import global_add_pool, global_max_pool, global_mean_pool
label_desc: Use image node_id 3 for calling a global function with example usage: test_dense_global_pool() without return types