code: def _dict_to_list(dict_of_lists: dict[str, Any]) -> list[Any]:
      """Converts a dict of lists to a list of dicts with the same structure."""
      feature_name = next(iter(dict_of_lists.keys()))
      length = len(dict_of_lists[feature_name])
      return [
          {k: dict_of_lists[k][i] for k in dict_of_lists}
          for i in range(length)
      ]
  
file_path: datasets/tensorflow_datasets/core/utils/np_utils.py
imports: from typing import Any, Callable, Tuple, Union
  import numpy
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import type_utils
  import tree
label_desc: Use image node_id 2 for calling a global function with example usage: _dict_to_list(dict_of_lists) and returns: unknown