code: def _infer_tile_size(data, kernel, layout="NCHW"):
      if layout == "NCHW":
          N, CI, H, W = get_const_tuple(data.shape)
      else:
          assert layout == "NHWC"
          N, H, W, CI = get_const_tuple(data.shape)
  
      if H % 8 == 0:
          return 4
      return 2
  
file_path: tvm/python/tvm/topi/cuda/conv2d_winograd.py
imports: import logging
  import tvm
  from tvm import autotvm, te
  from ..None import nn
  from ..nn.conv2d import _conv2d_winograd_nchw_impl, _conv2d_winograd_nhwc_impl, conv2d_winograd_nchw, conv2d_winograd_nhwc
  from ..nn.winograd_util import winograd_transform_matrices
  from ..utils import get_const_int, get_const_tuple, traverse_inline
label_desc: Use image node_id 1 for calling a global function with example usage: _infer_tile_size(data, kernel, layout) and returns: int, int