code: def _output_len(len_h, in_len, up, down):
      return (((in_len - 1) * up + len_h) - 1) // down + 1
  
file_path: cupy/cupyx/scipy/signal/_upfirdn.py
imports: from math import ceil
  import cupy
label_desc: Use image node_id 2 for calling a global function with example usage: _output_len(len_h, in_len, up, down) and returns: unknown