code: def export_do_not_keepdims() -> None:
      shape = [3, 2, 2]
      axes = np.array([1], dtype=np.int64)
      keepdims = 0
  
      node = onnx.helper.make_node(
          "ReduceSum",
          inputs=["data", "axes"],
          outputs=["reduced"],
          keepdims=keepdims,
      )
  
      data = np.array(
          [[[1, 2], [3, 4]], [[5, 6], [7, 8]], [[9, 10], [11, 12]]],
          dtype=np.float32,
      )
      reduced = np.sum(
          data, axis=tuple(axes.tolist()), keepdims=keepdims == 1
      )
      # print(reduced)
      # [[4., 6.]
      # [12., 14.]
      # [20., 22.]]
  
      expect(
          node,
          inputs=[data, axes],
          outputs=[reduced],
          name="test_reduce_sum_do_not_keepdims_example",
      )
  
      np.random.seed(0)
      data = np.random.uniform(-10, 10, shape).astype(np.float32)
      reduced = np.sum(
          data, axis=tuple(axes.tolist()), keepdims=keepdims == 1
      )
  
      expect(
          node,
          inputs=[data, axes],
          outputs=[reduced],
          name="test_reduce_sum_do_not_keepdims_random",
      )
  
file_path: onnx/onnx/backend/test/case/node/reducesum.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 ReduceSum obj's underlying member method code with example usage: obj.export_do_not_keepdims() without return types