code: def __init__(self, onnx_node, run_params):  # type: ignore
      OpRun.__init__(self, onnx_node, run_params)
      if hasattr(self, "shape") and len(self.shape) == 0:  # type: ignore
          raise ValueError(  # pragma: no cover
              f"shape cannot be empty for operator {self.__class__.__name__}."
          )
  
file_path: onnx/onnx/reference/ops/_op_common_random.py
imports: import numpy
  from onnx.helper import tensor_dtype_to_np_dtype
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 to create a new _CommonRandom object from inherited base classes: OpRun with example: obj = _CommonRandom(onnx_node, run_params)