code: def upsample_filt(size):
      factor = (size + 1) // 2
      if size % 2 == 1:
          center = factor - 1
      else:
          center = factor - 0.5
      og = np.ogrid[:size, :size]
      return (1 - abs(og[0] - center) / factor) * (
          1 - abs(og[1] - center) / factor
      )
  
imports: import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: upsample_filt(size) and returns: unknown