code: def export_globalaveragepool_precomputed() -> None:
      node = onnx.helper.make_node(
          "GlobalAveragePool",
          inputs=["x"],
          outputs=["y"],
      )
      x = np.array(
          [
              [
                  [
                      [1, 2, 3],
                      [4, 5, 6],
                      [7, 8, 9],
                  ]
              ]
          ]
      ).astype(np.float32)
      y = np.array([[[[5]]]]).astype(np.float32)
      expect(
          node,
          inputs=[x],
          outputs=[y],
          name="test_globalaveragepool_precomputed",
      )
  
file_path: onnx/onnx/backend/test/case/node/globalaveragepool.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 2 for calling the GlobalAveragePool obj's underlying member method code with example usage: obj.export_globalaveragepool_precomputed() without return types