code: def _run(self, data, axes=None):  # type: ignore
      if isinstance(axes, np.ndarray):
          axes = tuple(axes)
      elif axes in [[], ()]:
          axes = None
      elif isinstance(axes, list):
          axes = tuple(axes)
      if isinstance(axes, (tuple, list)):
          sq = data
          for a in reversed(axes):
              sq = np.squeeze(sq, axis=a)
      else:
          sq = np.squeeze(data, axis=axes)
      return (sq,)
  
file_path: onnx/onnx/reference/ops/op_squeeze.py
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the Squeeze_1 obj's underlying member method code with example usage: obj._run(data, axes) and returns: sq