class_docstr: Ancestor to all unary operators in this subfolder.
  
  Checks that input and output types are the same.
class_docstr_tok: ["Ancestor","to","all","unary","operators","in","this","subfolder",".","Checks","that","input","and","output","types","are","the","same","."]
code: def __init__(self, onnx_node: NodeProto, run_params: Dict[str, Any]):
      OpRun.__init__(self, onnx_node, run_params)
  
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 1 to create a new OpRunUnary object from inherited base classes: OpRun with example: obj = OpRunUnary(onnx_node, run_params)