code: def test_reduce_ops(self, op) -> None:
      # TODO: need to add test cases for missing axes input which depends on this pr:
      # https://github.com/onnx/onnx/pull/5613
      axes = helper.make_tensor(
          "b",
          onnx.TensorProto.INT64,
          dims=[3],
          vals=np.array([0, 1, 2]),
      )
      self._test_op_downgrade(
          op,
          from_opset=13,
          input_shapes=[[3, 4, 5], [3]],
          output_shapes=[[1, 1, 1]],
          input_types=[onnx.TensorProto.FLOAT, onnx.TensorProto.INT64],
          initializer=[axes],
      )
  
file_path: onnx/onnx/test/version_converter/automatic_downgrade_test.py
imports: import unittest
  import automatic_conversion_test_base
  import numpy
  import parameterized
  import onnx
  from onnx import helper
label_desc: Use image node_id 2 for calling the TestAutomaticDowngrade obj's underlying member method code with example usage: obj.test_reduce_ops(op) without return types