code: def sinc(x):
      return paddle.where(
          x != 0,
          paddle.sin(math.pi * x) / (math.pi * x),
          x.new_ones([]),
      )
  
file_path: PaddleHub/modules/image/text_to_image/disco_diffusion_ernievil_base/reverse_diffusion/model/make_cutouts.py
imports: import math
  import paddle
  import paddle.nn
  from disco_diffusion_ernievil_base.resize_right.resize_right import resize
  from paddle.nn import functional
  from .None import transforms
label_desc: Use image node_id 1 for calling a global function with example usage: sinc(x) and returns: paddle