def from_delayed(value, shape, dtype=None, name=None):
    name = name or 'from-value-' + tokenize(value, shape, dtype)
    dsk = {(name,) + (0,) * len(shape): value.key}
    dsk.update(value.dask)
    chunks = tuple((d,) for d in shape)
    return Array(dsk, name, chunks, dtype)
Decorator for functions which alter resource usage.
dataset/ETHPy150Open dask/dask/dask/array/core.py/from_delayed--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/quota/resource_registry.py/mark_resources_dirty