code: def _calculate_output_shape(shape, sizes, padding, strides):
      """Calculate pooling output shape."""
      output_height = (
          (shape[2] - sizes[0] + padding[0] + padding[2]) / strides[0]
      ) + 1
      output_width = (
          (shape[3] - sizes[1] + padding[1] + padding[3]) / strides[1]
      ) + 1
      return 1, shape[1], int(output_height), int(output_width)
  
file_path: tvm/tests/python/contrib/test_bnns/test_pooling.py
imports: import numpy
  import pytest
  import tvm
  from tvm import relay
  from tvm import testing
  from .infrastructure import skip_runtime_test, skip_codegen_test, build_and_run, verify, verify_codegen
  from .infrastructure import Device
label_desc: Use image node_id 1 for calling a global function with example usage: _calculate_output_shape(shape, sizes, padding, strides) and returns: int,  shape,  int,  int