code: def decode(data: dict) -> Any:
      def split_path(s):
          return tuple(s.split("."))
  
      nested = nest(keymap(split_path, data))
      encoded = _translate(nested)
      return base_decode(encoded)
  
file_path: gluonts/src/gluonts/core/serde/flat.py
imports: from collections import defaultdict
  from itertools import count
  from typing import Any
  from toolz.dicttoolz import keymap, valmap
  from ._base import encode, Kind, decode
label_desc: Use image node_id 7 for calling a global function with example usage: decode(data) and returns: base_decode, tuple