code: def _idict_flatten(d: Dict[Any, Any]) -> Tuple[List[Any], Context]:
      return list(d.values()), list(d.keys())
  
file_path: nni/nni/compression/speedup/utils.py
imports: from copy import deepcopy
  import logging
  from typing import Any, Dict, List, Tuple
  import torch
  from torch.fx.immutable_collections import immutable_dict, immutable_list
  from torch.utils._pytree import tree_map, tree_flatten, tree_unflatten, _register_pytree_node, Context
label_desc: Use image node_id 1 for calling a global function with example usage: _idict_flatten(d) and returns: list,  list