code: def get_strided_kernel_output_shape(node, round_func):
      assert node.layer is not None
      input_shape = node.get_only_parent()[0].output_shape
      params = node.kernel_parameters
      dilation = (
          node.parameters.dilation[0]
          if hasattr(node.parameters, "dilation")
          and node.parameters.dilation
          else 1
      )
  
      o_h, o_w = get_filter_output_shape(
          input_shape.height,
          input_shape.width,
          dilation,
          params,
          round_func,
      )
      params = node.parameters
      has_c_o = hasattr(params, "num_output")
      c = params.num_output if has_c_o else input_shape.channels
      return TensorShape(input_shape.batch_size, c, o_h, o_w)
  
imports: from collections import namedtuple
  import math
label_desc: Use image node_id 3 for calling a global function with example usage: get_strided_kernel_output_shape(node, round_func) and returns: TensorShape