code: def compute_new_kernel_size(kernel_size, kernel_width):
      new_kernel_size = max(int(kernel_size * kernel_width), 1)
      # If kernel is even shape, round up to make it odd
      if new_kernel_size % 2 == 0:
          new_kernel_size += 1
      return new_kernel_size
  
imports: import math
  from typing import Callable, Iterable, List, Optional, Tuple
  import torch
  import torch.nn
  import torch.nn.functional
  from torch import Tensor
  from torch.nn.init import _calculate_correct_fan
  from torch.nn.modules.utils import _single
  from nemo.collections.common.parts.utils import activation_registry
  from nemo.core.classes.mixins import AccessMixin
  from nemo.core.classes.mixins.adapter_mixins import AdapterModuleMixin
  from nemo.utils import logging
label_desc: Use image node_id 4 for calling a global function with example usage: compute_new_kernel_size(kernel_size, kernel_width) and returns: new_kernel_size