code: def _linear_coeffs(
      ratio: float, scale: float | None = None
  ) -> np.ndarray:
      del scale  # unused
      return np.array([1 - ratio, ratio])
  
file_path: onnx/onnx/reference/ops/op_resize.py
imports: from __future__ import annotations
  from typing import Any, Callable
  import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 5 for calling a global function with example usage: _linear_coeffs(ratio, scale) and returns: np