comet_rs::comet_fn! { mm_semiring_plusfirst_csr_csr_csr, { let a = Index::new(); let b = Index::new(); let c = Index::new(); let A = Tensor::::csr([a, b]).load("../../../integration_test/data/test_rank2.mtx"); let B = Tensor::::csr([b, c]).load("../../../integration_test/data/test_rank2.mtx"); let C = Tensor::::csr([a, c]); C = A @(+,first) B; C.print(); }} fn main() { mm_semiring_plusfirst_csr_csr_csr(); }