code: def __init__(self, pos1=0, pos2=0, pos3=0, pos4=0, w1=0, w2=0, w3=0, w4=0):  # type: ignore
      self.pos1 = pos1
      self.pos2 = pos2
      self.pos3 = pos3
      self.pos4 = pos4
      self.w1 = w1
      self.w2 = w2
      self.w3 = w3
      self.w4 = w4
  
file_path: onnx/onnx/reference/ops/op_roi_align.py
imports: from typing import Tuple
  import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 to create a new PreCalc object  with example: obj = PreCalc(pos1, pos2, pos3, pos4, w1, w2, w3, w4)