comet_rs::comet_fn! { dtranspose_eltwise_dense_dense, { let i = Index::with_value(4); let j = Index::with_value(4); let A = Tensor::::dense([i, j]).fill(3.2); let B = Tensor::::dense([j, i]).fill(0.0); let C = Tensor::::dense([j, i]).fill(2.0); let D = Tensor::::dense([j, i]).fill(0.0); B = A.transpose([j,i]); D = B .* C; D.print(); }, MlirOption::[ConvertLinalgToLoops, ConvertScfToStd, ConvertStdToLlvm] } fn main() { dtranspose_eltwise_dense_dense(); }