llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[mlir][tensor] feature request: `tensor.print` op

Open pingshiyu opened this issue 2 years ago • 2 comments

Would love a way to print out tensors, in a similar way to vector.print.

Seems like the alternative (relatively simple way) would be to first lower to memref (after talking to @makslevental), then print it out there - which is not super ideal.

For me, it would help a lot with debugging and validation, I imagine it'd be quite useful for others too!

pingshiyu avatar Mar 06 '24 17:03 pingshiyu

can someone assign this to me please

ghost avatar Mar 16 '24 07:03 ghost

Can't assign to non member of the project (this is a GitHub limitation). But please take it :)

joker-eph avatar Mar 16 '24 07:03 joker-eph