code: def smooth(edge_segments, tension, idx, idy):
      for segments in edge_segments:
          smooth_segment(segments, tension, idx, idy)
  
imports: from __future__ import annotations
  from math import ceil
  from dask import compute, delayed
  from pandas import DataFrame
  import numpy
  import pandas
  import param
  from .utils import ngjit
label_desc: Use image node_id 7 for calling a global function with example usage: smooth(edge_segments, tension, idx, idy) without return types