MCPcopy
hub / github.com/dask/dask / empty

Method empty

dask/array/backends.py:380–385  ·  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

378
379 @staticmethod
380 def empty(shape, *, dtype=None, meta=None, **kwargs):
381 """Create an empty array
382
383 Returns an uninitialized array having a specified shape.
384 """
385 raise NotImplementedError
386
387 @staticmethod
388 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

Calls

no outgoing calls

Tested by 11

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