code: def get_same_padding(kernel_size):
      if isinstance(kernel_size, tuple):
          assert len(kernel_size) == 2, (
              "invalid kernel size: %s" % kernel_size
          )
          p1 = get_same_padding(kernel_size[0])
          p2 = get_same_padding(kernel_size[1])
          return p1, p2
      assert isinstance(
          kernel_size, int
      ), "kernel size should be either `int` or `tuple`"
      assert kernel_size % 2 > 0, "kernel size should be odd number"
      return kernel_size // 2
  
file_path: nni/examples/nas/legacy/oneshot/proxylessnas/putils.py
imports: import torch
  import nni.retiarii.nn.pytorch
label_desc: Use image node_id 2 for calling a global function with example usage: get_same_padding(kernel_size) and returns: unknown, p1,  p2