code: def get_filter_output_shape(i_h, i_w, dilation, params, round_func):
      ko_h, ko_w = get_kernel_extents(params, dilation)
  
      o_h = (i_h + 2 * params.p_h - ko_h) / float(params.s_h) + 1
      o_w = (i_w + 2 * params.p_w - ko_w) / float(params.s_w) + 1
      return (int(round_func(o_h)), int(round_func(o_w)))
  
imports: from collections import namedtuple
  import math
label_desc: Use image node_id 2 for calling a global function with example usage: get_filter_output_shape(i_h, i_w, dilation, params, round_func) and returns: int,  int