Extensions

class ivy.NativeSparseArray[source]

Bases: object

class ivy.SparseArray(data=None, *, coo_indices=None, csr_crow_indices=None, csr_col_indices=None, values=None, dense_shape=None)[source]

Bases: object

__init__(data=None, *, coo_indices=None, csr_crow_indices=None, csr_col_indices=None, values=None, dense_shape=None)[source]
property coo_indices
property csr_col_indices
property csr_crow_indices
property data
property dense_shape
to_dense_array(*, native=False)[source]
property values
ivy.is_ivy_sparse_array(x)[source]
ivy.is_native_sparse_array(x)[source]
ivy.native_sparse_array(data=None, *, coo_indices=None, csr_crow_indices=None, csr_col_indices=None, values=None, dense_shape=None)[source]
ivy.native_sparse_array_to_indices_values_and_shape(x)[source]

def is_ivy_sparse_array.rst