class_docstr: Map between a `dict`s of variables to an array space.
  
  Said array space consists of all the vars raveled and then concatenated.
class_docstr_tok: ["Map","between","a","`","dict","`","s","of","variables","to","an","array","space",".","Said","array","space","consists","of","all","the","vars","raveled","and","then","concatenated","."]
docstr: Map a dictionary of names and variables to a concatenated 1D array space.
docstr_tok: ["Map","a","dictionary","of","names","and","variables","to","a","concatenated","1D","array","space","."]
code: def map(var_dict: PointType) -> RaveledVars:
      """Map a dictionary of names and variables to a concatenated 1D array space."""
      vars_info = tuple(
          (v, k, v.shape, v.dtype) for k, v in var_dict.items()
      )
      raveled_vars = [v[0].ravel() for v in vars_info]
      if raveled_vars:
          result = np.concatenate(raveled_vars)
      else:
          result = np.array([])
      return RaveledVars(result, tuple(v[1:] for v in vars_info))
  
file_path: pymc/pymc/blocking.py
imports: from __future__ import annotations
  from functools import partial
  from typing import Any, Callable, Dict, Generic, List, NamedTuple, Optional, Sequence, TypeVar, Union
  import numpy
  from typing_extensions import TypeAlias
label_desc: Use image node_id 1 for calling the DictToArrayBijection obj's underlying member method code with example usage: obj.map(var_dict) and returns: RaveledVars