code: def export_negative_axis_keepdims_select_last_index() -> None:
      data = np.array([[2, 2], [3, 10]], dtype=np.float32)
      axis = -1
      keepdims = 1
      node = onnx.helper.make_node(
          "ArgMax",
          inputs=["data"],
          outputs=["result"],
          axis=axis,
          keepdims=keepdims,
          select_last_index=True,
      )
      # result: [[1], [1]]
      result = argmax_use_numpy_select_last_index(
          data, axis=axis, keepdims=keepdims
      )
      expect(
          node,
          inputs=[data],
          outputs=[result],
          name="test_argmax_negative_axis_keepdims_example_select_last_index",
      )
  
      data = np.random.uniform(-10, 10, [2, 3, 4]).astype(np.float32)
      # result's shape: [2, 3, 1]
      result = argmax_use_numpy_select_last_index(
          data, axis=axis, keepdims=keepdims
      )
      expect(
          node,
          inputs=[data],
          outputs=[result],
          name="test_argmax_negative_axis_keepdims_random_select_last_index",
      )
  
file_path: onnx/onnx/backend/test/case/node/argmax.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 8 for calling the ArgMax obj's underlying member method code with example usage: obj.export_negative_axis_keepdims_select_last_index() without return types