chainerx.empty¶
- chainerx.empty(shape, dtype, device=None)¶
Returns an array without initializing the elements.
- Parameters
shape (tuple of ints) – Shape of the array.
dtype – Data type of the array.
device (Device) – Device on which the array is allocated. If omitted, the default device is chosen.
- Returns
New array with elements not initialized.
- Return type
See also