code: def sinc(x: torch.Tensor):
      """
      Implementation of sinc, i.e. sin(x) / x
  
      __Warning__: the input is not multiplied by `pi`!
      """
      return torch.where(
          x == 0,
          torch.tensor(1.0, device=x.device, dtype=x.dtype),
          torch.sin(x) / x,
      )
  
file_path: julius/julius/core.py
imports: import math
  import typing
  import torch
  from torch.nn import functional
label_desc: Use image node_id 1 for calling a global function with example usage: sinc(x) and returns: torch