code: def cubic(x):
      fw, to_dtype, eps = set_framework_dependencies(x)
      absx = fw.abs(x)
      absx2 = absx**2
      absx3 = absx**3
      return (1.5 * absx3 - 2.5 * absx2 + 1.0) * to_dtype(
          absx <= 1.0
      ) + (-0.5 * absx3 + 2.5 * absx2 - 4.0 * absx + 2.0) * to_dtype(
          (1.0 < absx) & (absx <= 2.0)
      )
  
imports: from math import pi
label_desc: Use image node_id 3 for calling a global function with example usage: cubic(x) and returns: unknown