code: def spline(v0, v1, t, power):
      one_m_t = 1.0 - t
      x = one_m_t**power
      return lerp(v1, v0, x)
  
file_path: coremltools/coremltools/optimize/torch/pruning/_utils.py
imports: import logging
  from typing import List
  from typing import Optional
  from typing import Tuple
  from typing import cast
  import numpy
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: spline(v0, v1, t, power) and returns: lerp