mxnet.ndarray.sparse.empty¶
-
mxnet.ndarray.sparse.
empty
(stype, shape, ctx=None, dtype=None)[source]¶ Returns a new array of given shape and type, without initializing entries.
- Parameters
stype (string) – The storage type of the empty array, such as ‘row_sparse’, ‘csr’, etc
shape (int or tuple of int) – The shape of the empty array.
ctx (Context, optional) – An optional device context (default is the current default context).
dtype (str or numpy.dtype, optional) – An optional value type (default is float32).
- Returns
A created array.
- Return type