code: def _run(self, data, pads, constant_value=None, axes=None, mode=None):  # type: ignore
      if constant_value is None:
          constant_value = 0
      return (
          _pad_impl(
              data,
              pads,
              mode=mode,
              constant_values=constant_value,
              axes=axes,
          ),
      )
  
file_path: onnx/onnx/reference/ops/op_pad.py
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the Pad_18 obj's underlying member method code with example usage: obj._run(data, pads, constant_value, axes, mode) and returns: _pad_impl