comet_rs::comet_fn! { sum_dense_matrix, { let i = Index::with_value(4); let j = Index::with_value(4); let A = Tensor::::dense([i, j]).fill(3.7); let a = A.sum(); a.print(); }} fn main() { sum_dense_matrix(); }