code: def get_same_padding_for_kernel_size(kernel_size):
      """
      Returns the required padding for "same" style convolutions
      """
      if kernel_size % 2 == 0:
          raise ValueError(
              f"Only odd sized kernels are supported, got {kernel_size}"
          )
      return (kernel_size - 1) // 2
  
imports: import copy
  import math
  from collections import OrderedDict
  from typing import Any, Dict, NamedTuple, Optional
  import torch
  import torch.nn
  from classy_vision.generic.util import get_torch_version
  from classy_vision.models import ClassyModel, register_model
label_desc: Use image node_id 5 for calling a global function with example usage: get_same_padding_for_kernel_size(kernel_size) and returns: unknown