code: def _dask_array_from_delayed(part, dtype, nrows, ncols=None):
      # NOTE: ncols = None is for when we want to create a
      # flat array of ndim == 1. When ncols = 1, we go ahead
      # and make an array of shape (nrows, 1)
  
      shape = (nrows, ncols) if ncols else (nrows,)
      return da.from_delayed(
          dask.delayed(part),
          shape=shape,
          meta=cp.zeros((1)),
          dtype=dtype,
      )
  
imports: import dask.array
  import dask.delayed
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 3 for calling a global function with example usage: _dask_array_from_delayed(part, dtype, nrows, ncols) and returns: da