comet_rs::comet_fn! { sp_transpose_csr_spmm_csr_dense, { let i = Index::new(); let j = Index::new(); let k = Index::with_value(5); let A = Tensor::::csr([i, j]).load("../../../integration_test/data/test_rank2.mtx"); let B = Tensor::::csr([j, i]); let C = Tensor::::dense([i, k]).fill(1.0); let D = Tensor::::dense([j, k]).fill(0.0); B = A.transpose([j,i]); D = B * C; D.print(); }} fn main() { sp_transpose_csr_spmm_csr_dense(); }