code: def _end(size, res, output_datatype):  # type: ignore
      dtype = tensor_dtype_to_np_dtype(output_datatype)
      return (res.astype(dtype),)
  
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 2 for calling the _CommonWindow obj's underlying member method code with example usage: obj._end(size, res, output_datatype) and returns: res