Converts a Value object to a sequence of matrices (if dense) or CSR arrays (if sparse).

value_as_matrix(value, dtype = "auto")

Arguments

value

Value instance to be converted

dtype

data type to be used ("float32", "float64", or "auto")