code: def __init__(self, onnx_node, run_params):  # type: ignore
      SliceCommon.__init__(self, onnx_node, run_params)
      for f in ["starts", "ends", "steps", "axes"]:
          if not hasattr(self, f):
              continue
          if (
              getattr(self, f) is not None
              and len(getattr(self, f)) == 0
          ):
              setattr(self, f, None)
  
file_path: onnx/onnx/reference/ops/op_slice.py
imports: from typing import Optional
  import numpy
  from onnx.reference.ops._op import OpRun
label_desc: Use image node_id 1 to create a new Slice_1 object from inherited base classes: SliceCommon with example: obj = Slice_1(onnx_node, run_params)