iarray.uninit(shape: Sequence, cfg: Optional[Config] = None, **kwargs) IArray#

Return an uninitialized array.

An uninitialized array has no data and needs to be filled via a write iterator.

  • shape (tuple, list) – The shape of the array to be created.

  • cfg (Config) – The configuration for running the expression. If None (default), global defaults are used.

  • kwargs (dict) – A dictionary for setting some or all of the fields in the Config dataclass that should override the current configuration.


The new array.

Return type

IArray container