class_docstr: Implements the reduce logic.
  It must have a parameter *axes*.
class_docstr_tok: ["Implements","the","reduce","logic",".","It","must","have","a","parameter","*","axes","*","."]
code: def output_shape(self, data, axes, keepdims):
      return np.sum(data, axis=axes, keepdims=keepdims).shape
  
imports: from typing import Any, Dict
  import numpy
  from onnx.onnx_pb import NodeProto
  from onnx.reference.op_run import OpRun, RuntimeTypeError
label_desc: Use image node_id 4 for calling the OpRunReduceNumpy obj's underlying member method code with example usage: obj.output_shape(data, axes, keepdims) and returns: np