MCPcopy Create free account
hub / github.com/dask/dask / empty

Method empty

dask/array/backends.py:379–384  ·  view source on GitHub ↗

Create an empty array Returns an uninitialized array having a specified shape.

(shape, *, dtype=None, meta=None, **kwargs)

Source from the content-addressed store, hash-verified

377
378 @staticmethod
379 def empty(shape, *, dtype=None, meta=None, **kwargs):
380 """Create an empty array
381
382 Returns an uninitialized array having a specified shape.
383 """
384 raise NotImplementedError
385
386 @staticmethod
387 def full(shape, fill_value, *, dtype=None, meta=None, **kwargs):

Callers 15

pseudorandomFunction · 0.45
test_numpyFunction · 0.45
test_is_arraylikeFunction · 0.45
partition_by_sizeFunction · 0.45
concatenateFunction · 0.45
elemwiseFunction · 0.45
stackFunction · 0.45
concatenate3Function · 0.45
_get_axisFunction · 0.45
meta_from_arrayFunction · 0.45
_unique_internalFunction · 0.45
coarsenFunction · 0.45

Calls

no outgoing calls

Tested by 10

test_numpyFunction · 0.36
test_is_arraylikeFunction · 0.36
test_tile_empty_arrayFunction · 0.36
test_ArrayFunction · 0.36
test_stack_zero_sizeFunction · 0.36
make_targetFunction · 0.36
test_storeFunction · 0.36
test_out_numpyFunction · 0.36