code: def argmax_use_numpy_select_last_index(
      data: np.ndarray, axis: int = 0, keepdims: int = True
  ) -> np.ndarray:
      data = np.flip(data, axis)
      result = np.argmax(data, axis=axis)
      result = data.shape[axis] - result - 1
      if keepdims:
          result = np.expand_dims(result, axis)
      return result.astype(np.int64)
  
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 2 for calling a global function with example usage: argmax_use_numpy_select_last_index(data, axis, keepdims) and returns: result