get_sparse_matrix_impl

odl.core.sparse.sparse_matrix.get_sparse_matrix_impl(matrix: object) str[source]

Gets the implementation string name of a matrix (which must be in one of the sparse formats known to ODL).

Args:

matrix (object): matrix

Returns:

str: The implementation string identifier (‘pytorch’, ‘scipy’, …)