dict_to_array# class pinnx.utils.dict_to_array(d, keep_dim=False)[source]# Convert a dictionary to an array. Parameters: d (Dict[str, Union[Array, ndarray, bool, number, bool, int, float, complex, Quantity]]) – The dictionary. keep_dim (bool) – Whether to keep the dimension. Returns: The array. Return type: ndarray