code: def decode_nfv(nfvstr, nf):
      """parse the string for a list of feature domain sizes
  
      Parameters
      ----------
      nfvstr : str
          string specified in a command-line option
      nf : int
          the number of features
  
      Returns
      -------
       nfv : array, dtype=int, shape=(n_features)
          array of sizes of feature domain
  
      Raises
      ------
      ValueError
          uninterpretable inputs
      """
  
      try:
          nfv = np.fromstring(nfvstr, dtype=int, sep=":")
  
          if len(nfv) == 1:
              nfv = nfv * nf
          elif len(nfv) != nf:
              raise ValueError
          if np.any(nfv < 0) or np.any(nfv == 1):
              raise ValueError
      except ValueError:
          sys.exit(
              "Illegal specfication of the numbers of feature values"
          )
  
      return nfv
  
imports: import sys
  import logging
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: decode_nfv(nfvstr, nf) and returns: nfv