code: def test_global_max_pool():
      _test_single_mode(GlobalMaxPool)
      _test_batch_mode(GlobalMaxPool)
      _test_disjoint_mode(GlobalMaxPool)
      _test_get_config(GlobalMaxPool)
  
file_path: spektral/tests/test_layers/pooling/test_global_pooling.py
imports: import numpy
  import tensorflow
  from tensorflow.keras import Input, Model
  from spektral.layers import GlobalAttentionPool, GlobalAttnSumPool, GlobalAvgPool, GlobalMaxPool, GlobalSumPool, SortPool
  from tests.test_layers.convolutional.core import _test_get_config
label_desc: Use image node_id 7 for calling a global function with example usage: test_global_max_pool() without return types