Skip to content

[mlir][tensor] feature request: tensor.print op #84206

Open
@pingshiyu

Description

@pingshiyu

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions