code: def parse_ksize(ss):
      if ss.isdigit():
          return int(ss)
      else:
          return [int(k) for k in ss.split(".")]
  
file_path: nni/examples/nas/legacy/cream/lib/utils/builder_util.py
imports: import re
  import math
  import torch.nn
  from copy import deepcopy
  from timm.utils import *
  from timm.models.layers.activations import Swish
  from timm.models.layers import CondConv2d, get_condconv_initializer
label_desc: Use image node_id 1 for calling a global function with example usage: parse_ksize(ss) and returns: int, unknown