code: def decode_nested_parameters(parameters: dict) -> dict:
      inputs = split_by_prefix(parameters)
      return valmap(serde.flat.decode, inputs)
  
imports: import re
  from collections import defaultdict
  from toolz.dicttoolz import valmap
  from gluonts.core import serde
label_desc: Use image node_id 2 for calling a global function with example usage: decode_nested_parameters(parameters) and returns: valmap