code: def export() -> None:
      node = onnx.helper.make_node(
          "GlobalMaxPool",
          inputs=["x"],
          outputs=["y"],
      )
      x = np.random.randn(1, 3, 5, 5).astype(np.float32)
      y = np.max(x, axis=tuple(range(2, np.ndim(x))), keepdims=True)
      expect(node, inputs=[x], outputs=[y], name="test_globalmaxpool")
  
file_path: onnx/onnx/backend/test/case/node/globalmaxpool.py
imports: import numpy
  import onnx
  from onnx.backend.test.case.base import Base
  from onnx.backend.test.case.node import expect
label_desc: Use image node_id 1 for calling the GlobalMaxPool obj's underlying member method code with example usage: obj.export() without return types