cupy.empty#
- cupy.empty(shape, dtype=<class 'float'>, order='C')[source]#
Returns an array without initializing the elements.
- Parameters
shape (int or tuple of ints) – Dimensionalities of the array.
dtype – Data type specifier.
order ({'C', 'F'}) – Row-major (C-style) or column-major (Fortran-style) order.
- Returns
A new array with elements not initialized.
- Return type
See also