rl_equation_solver.utilities.utilities.sparse_mx_to_torch_sparse_tensor

sparse_mx_to_torch_sparse_tensor(sparse_mx)[source]

Convert a scipy sparse matrix to a torch sparse tensor.