Beginner Question: Build-in Dialect

Hi~ I just have a fairly very simple question. I barely get perplexed when I walk through the MLIR Builtin Dialect Documentation, what is exactly the meaning of dialect parameters as well as corresponding C++ type? And how can I pass the required type of parameter to this build-in dialect?

This is the documentation for the AffineMap Attribute, which only wraps an AffineMap C++ object. The “parameter” list reflects this: your can build an AffineMapAttr by passing only an AffineMap as parameter.

Here is an example:

Wow~ Thank you so much for your reply I will further dive into source code to figure out the minutia :innocent: